GTK's toolbar class has no OnPaint
Added missing bitmap in mdi sample Added OpenGL support (I Get segv on my Debian/Mesa system, don't know why). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2187,10 +2187,19 @@ void ObjectMenuProc(wxMenu& menu, wxCommandEvent& event)
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef __WXGTK__ // I don't dare to delete it...
|
||||
|
||||
BEGIN_EVENT_TABLE(EditorToolBar, wxToolBar)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
#else
|
||||
|
||||
BEGIN_EVENT_TABLE(EditorToolBar, wxToolBar)
|
||||
EVT_PAINT(EditorToolBar::OnPaint)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
#endif
|
||||
|
||||
EditorToolBar::EditorToolBar(wxFrame *frame, const wxPoint& pos, const wxSize& size,
|
||||
long style):
|
||||
wxToolBar(frame, -1, pos, size, style)
|
||||
|
Reference in New Issue
Block a user