X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20bc5ad8dd419d0d3e524079f8fdbe3d8c14231f..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/palmos/app.h?ds=sidebyside diff --git a/include/wx/palmos/app.h b/include/wx/palmos/app.h index 60dbfb0aa1..0590f5e589 100644 --- a/include/wx/palmos/app.h +++ b/include/wx/palmos/app.h @@ -12,22 +12,18 @@ #ifndef _WX_APP_H_ #define _WX_APP_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "app.h" -#endif - #include "wx/event.h" #include "wx/icon.h" -class WXDLLIMPEXP_CORE wxFrame; -class WXDLLIMPEXP_CORE wxWindow; -class WXDLLIMPEXP_CORE wxApp; -class WXDLLIMPEXP_CORE wxKeyEvent; -class WXDLLIMPEXP_BASE wxLog; +class WXDLLIMPEXP_FWD_CORE wxFrame; +class WXDLLIMPEXP_FWD_CORE wxWindow; +class WXDLLIMPEXP_FWD_CORE wxApp; +class WXDLLIMPEXP_FWD_CORE wxKeyEvent; +class WXDLLIMPEXP_FWD_BASE wxLog; // Represents the application. Derive OnInit and declare // a new App object to start application -class WXDLLEXPORT wxApp : public wxAppBase +class WXDLLIMPEXP_CORE wxApp : public wxAppBase { DECLARE_DYNAMIC_CLASS(wxApp) @@ -39,14 +35,12 @@ public: virtual bool Initialize(int& argc, wxChar **argv); virtual void CleanUp(); - virtual bool Yield(bool onlyIfNeeded = false); virtual void WakeUpIdle(); virtual void SetPrintMode(int mode) { m_printMode = mode; } virtual int GetPrintMode() const { return m_printMode; } // implementation only - void OnIdle(wxIdleEvent& event); void OnEndSession(wxCloseEvent& event); void OnQueryEndSession(wxCloseEvent& event); @@ -78,7 +72,7 @@ public: protected: DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxApp) + wxDECLARE_NO_COPY_CLASS(wxApp); }; // ---------------------------------------------------------------------------- @@ -89,8 +83,7 @@ protected: #define SW_SHOWNORMAL 1 #endif -extern int WXDLLEXPORT -wxEntry(); +extern WXDLLIMPEXP_CORE int wxEntry(); #define IMPLEMENT_WXWIN_MAIN \ \