X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9102b3671a45d116d781b0c8e90d2e9a84fbdcb..f81dc6e93170cb73c6d614b77e26be49baa724d2:/include/wx/msw/toplevel.h diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index 377a446cce..56c99693b4 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -12,10 +12,6 @@ #ifndef _WX_MSW_TOPLEVEL_H_ #define _WX_MSW_TOPLEVEL_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "toplevel.h" -#endif - // ---------------------------------------------------------------------------- // wxTopLevelWindowMSW // ---------------------------------------------------------------------------- @@ -50,6 +46,8 @@ public: virtual ~wxTopLevelWindowMSW(); // implement base class pure virtuals + virtual void SetTitle( const wxString& title); + virtual wxString GetTitle() const; virtual void Maximize(bool maximize = true); virtual bool IsMaximized() const; virtual void Iconize(bool iconize = true); @@ -88,6 +86,11 @@ public: bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); #endif // __SMARTPHONE__ && __WXWINCE__ +#if defined(__SMARTPHONE__) || defined(__POCKETPC__) + // Soft Input Panel (SIP) change notification + virtual bool HandleSettingChange(WXWPARAM wParam, WXLPARAM lParam); +#endif + protected: // common part of all ctors void Init(); @@ -113,6 +116,9 @@ protected: // choose the right parent to use with CreateWindow() virtual WXHWND MSWGetParent() const; + // window proc for the frames + WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + // is the window currently iconized? bool m_iconized; @@ -165,9 +171,10 @@ protected: void ReloadAllButtons(); #endif // __SMARTPHONE__ && __WXWINCE__ - // Empty menubar for dialogs -#ifdef __POCKETPC__ - WXHWND m_menuBarHWND; +private: + +#if defined(__SMARTPHONE__) || defined(__POCKETPC__) + void* m_activateInfo; #endif DECLARE_EVENT_TABLE() @@ -175,4 +182,3 @@ protected: }; #endif // _WX_MSW_TOPLEVEL_H_ -