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:
Julian Smart
1999-02-19 21:54:37 +00:00
parent b97b1af824
commit 0bc9b25e9a
10 changed files with 47 additions and 41 deletions

View File

@@ -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)
{

View File

@@ -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;

View File

@@ -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);

View File

@@ -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;