SF.net SVN: mahogany:[7559] trunk/M/src
[email protected] Sun, 01 Feb 2009 20:14:10 +0000
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 7559
http://mahogany.svn.sourceforge.net/mahogany/?rev=7559&view=rev
Author: nerijus
Date: 2009-02-01 20:14:10 +0000 (Sun, 01 Feb 2009)
Log Message:
-----------
fixed compilation error with current wx svn
Modified Paths:
--------------
trunk/M/src/modules/BareBonesEditor.cpp
trunk/M/src/wx/generic/persctrl.cpp
Modified: trunk/M/src/modules/BareBonesEditor.cpp
===================================================================
--- trunk/M/src/modules/BareBonesEditor.cpp 2009-01-20 18:18:10 UTC (rev 7558)
+++ trunk/M/src/modules/BareBonesEditor.cpp 2009-02-01 20:14:10 UTC (rev 7559)
@@ -716,7 +716,7 @@
// emulate a menu command
wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, WXMENU_COMPOSE_INSERTFILE);
- GetParent()->ProcessEvent(event);
+ GetParent()->GetEventHandler()->ProcessEvent(event);
}
void wxBareBonesEditorNotebook::OnRemoveAllAttach(wxCommandEvent& /* event */)
Modified: trunk/M/src/wx/generic/persctrl.cpp
===================================================================
--- trunk/M/src/wx/generic/persctrl.cpp 2009-01-20 18:18:10 UTC (rev 7558)
+++ trunk/M/src/wx/generic/persctrl.cpp 2009-02-01 20:14:10 UTC (rev 7559)
@@ -2213,7 +2213,7 @@
event.SetClientData(ctrl->GetClientObject(sel));
event.SetString(ctrl->GetString(sel));
event.SetEventObject(ctrl);
- (void)ctrl->ProcessEvent(event);
+ (void)ctrl->GetEventHandler()->ProcessEvent(event);
}
/* vi: set ts=4 sw=4: */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword