X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..bcb7cc7693846151a179c6f199105c19df2c77a2:/utils/nplugin/samples/simple/simple.cpp diff --git a/utils/nplugin/samples/simple/simple.cpp b/utils/nplugin/samples/simple/simple.cpp index 137e7b0585..4e4a83f593 100644 --- a/utils/nplugin/samples/simple/simple.cpp +++ b/utils/nplugin/samples/simple/simple.cpp @@ -32,7 +32,7 @@ // Define a new application type class MyApp: public wxPluginApp { public: - virtual wxFrame *OnInit(void); + virtual bool OnInit(void); virtual wxPluginFrame* OnNewInstance(const wxPluginData& data); }; @@ -70,9 +70,9 @@ IMPLEMENT_APP(MyApp) // No app initialisation necessary, and for a plugin there is no // top frame. -wxFrame *MyApp::OnInit(void) +bool MyApp::OnInit(void) { - return NULL; + return TRUE; } // Called whenever a new plugin instance is called. We could check