SetSelection must not send an event. Fixed an off
by one index, and a crash (probably a Motif bug). Improved wxSpinButton appearance. Fixed some build warnings here and there in the samples, removed use of deprecated wxList methods in prntdlgg.cpp, fixed aot-of-range ID in tipdlg.cpp, fixed some errors detected by valgrind. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -337,7 +337,8 @@ MyFrame::MyFrame()
|
||||
|
||||
wxMenuBar *menu_bar = new wxMenuBar();
|
||||
menu_bar->Append(file_menu, _T("&File"));
|
||||
|
||||
|
||||
SetIcon(wxICON(mondrian));
|
||||
SetMenuBar( menu_bar );
|
||||
|
||||
CreateStatusBar(2);
|
||||
|
Reference in New Issue
Block a user