Various fixes incl. checking in .po/.mo files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
79490c3d8b
commit
94f52d90c9
@ -60,8 +60,8 @@ bool MyApp::OnInit(void)
|
||||
// Create the main frame window
|
||||
MyFrame *frame = new MyFrame(NULL, "Dynamic wxWindows App", 50, 50, 450, 340);
|
||||
|
||||
frame->Connect( DYNAMIC_QUIT, -1, wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction)MyFrame::OnQuit );
|
||||
frame->Connect( DYNAMIC_ABOUT, -1, wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction)MyFrame::OnAbout );
|
||||
frame->Connect( DYNAMIC_QUIT, -1, wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) MyFrame::OnQuit );
|
||||
frame->Connect( DYNAMIC_ABOUT, -1, wxEVT_COMMAND_MENU_SELECTED, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) MyFrame::OnAbout );
|
||||
|
||||
// Give it an icon
|
||||
#ifdef __WXMSW__
|
||||
|
@ -241,6 +241,8 @@ OwnerDrawnFrame::OwnerDrawnFrame(wxFrame *frame, char *title, int x, int y, int
|
||||
|
||||
}
|
||||
|
||||
delete[] astrChoices;
|
||||
|
||||
// create the status line
|
||||
const int widths[] = { -1, 60 };
|
||||
CreateStatusBar(2);
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
void OnItemCollapsing(wxTreeEvent& event);
|
||||
void OnSelChanged(wxTreeEvent& event);
|
||||
void OnSelChanging(wxTreeEvent& event);
|
||||
void OnTreeKeyDown(wxTreeEvent& event);
|
||||
void OnTreeKeyDown(wxKeyEvent& event);
|
||||
|
||||
void GetItemsRecursively(const wxTreeItemId& idParent, long cookie);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user