X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3a43801df2f05c057892481df9d3cfe30fd8800..0bc9b25e9a0218d5ddc1d12c40dd96216bb275e7:/samples/proplist/test.cpp diff --git a/samples/proplist/test.cpp b/samples/proplist/test.cpp index 267dfdab74..91f753fbae 100644 --- a/samples/proplist/test.cpp +++ b/samples/proplist/test.cpp @@ -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; @@ -46,7 +42,7 @@ bool MyApp::OnInit(void) RegisterValidators(); // Create the main frame window - m_mainFrame = new MyFrame(NULL, "wxPropertySheet Demo", wxPoint(0, 0), wxSize(300, 400), wxDEFAULT_FRAME); + m_mainFrame = new MyFrame(NULL, "wxPropertySheet Demo", wxPoint(0, 0), wxSize(300, 400), wxDEFAULT_FRAME_STYLE); // Make a menubar wxMenu *file_menu = new wxMenu;