X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af1337b041be734b7e64bcf7a06086268ae6895e..9ad7392b6a1bcd63cce8ad7899348f49d3e82a88:/samples/xrc/xrcdemo.h diff --git a/samples/xrc/xrcdemo.h b/samples/xrc/xrcdemo.h index c201be31b4..134c477a9a 100644 --- a/samples/xrc/xrcdemo.h +++ b/samples/xrc/xrcdemo.h @@ -18,7 +18,7 @@ // GCC interface //----------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "xrcdemo.h" #endif @@ -39,12 +39,12 @@ class MyApp : public wxApp public: // Override base class virtuals: - // wxApp::OnInit() is called on application startup and is a good place - // for the app initialization (doing it here and not in the ctor - // allows to have an error return: if OnInit() returns false, the + // wxApp::OnInit() is called on application startup and is a good place + // for the app initialization (doing it here and not in the ctor + // allows to have an error return: if OnInit() returns false, the // application terminates) virtual bool OnInit(); - + }; //-----------------------------------------------------------------------------