Added George Tasker's forward slash fix to file dialog; added some consts to prntbase.h;
removed redundant IMPLEMENT_WXWIN_MAINs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,10 +44,6 @@ IMPLEMENT_APP(MyApp)
|
||||
|
||||
MyCanvas *myCanvas = (MyCanvas *) NULL;
|
||||
|
||||
// A macro needed for some compilers (AIX) that need 'main' to be defined
|
||||
// in the application itself.
|
||||
IMPLEMENT_WXWIN_MAIN
|
||||
|
||||
// `Main program' equivalent, creating windows and returning main app frame
|
||||
bool MyApp::OnInit(void)
|
||||
{
|
||||
|
@@ -26,10 +26,6 @@
|
||||
|
||||
#include "test.h"
|
||||
|
||||
// A macro needed for some compilers (AIX) that need 'main' to be defined
|
||||
// in the application itself.
|
||||
IMPLEMENT_WXWIN_MAIN
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
wxPropertyValidatorRegistry myListValidatorRegistry;
|
||||
|
@@ -135,7 +135,6 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
|
||||
menu_bar->Append(tree_menu, "&Tree");
|
||||
SetMenuBar(menu_bar);
|
||||
|
||||
// Make a panel with a message
|
||||
m_treeCtrl = new MyTreeCtrl(this, TreeTest_Ctrl,
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxTR_HAS_BUTTONS | wxSUNKEN_BORDER);
|
||||
|
@@ -137,10 +137,6 @@ void PopupFunction(wxMenu& menu, wxCommandEvent& event);
|
||||
|
||||
wxHelpController *HelpController = NULL;
|
||||
|
||||
// A macro needed for some compilers (AIX) that need 'main' to be defined
|
||||
// in the application itself.
|
||||
IMPLEMENT_WXWIN_MAIN
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
MainWindow *TheMainWindow = NULL;
|
||||
|
Reference in New Issue
Block a user