X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/219ee9ba9d64d7e5764c5a56a46658a37e251c68..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/motif/frame.h diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index b29732525c..64f808bbad 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -12,11 +12,7 @@ #ifndef _WX_MOTIF_FRAME_H_ #define _WX_MOTIF_FRAME_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "frame.h" -#endif - -class WXDLLEXPORT wxFrame : public wxFrameBase +class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase { public: wxFrame() { Init(); } @@ -52,7 +48,6 @@ public: void SetTitle(const wxString& title); // Set icon - virtual void SetIcon(const wxIcon& icon); virtual void SetIcons(const wxIconBundle& icons); #if wxUSE_STATUSBAR @@ -92,10 +87,9 @@ public: bool PreResize(); - void SendSizeEvent(); - // for generic/mdig.h virtual void DoGetClientSize(int *width, int *height) const; + private: // common part of all ctors void Init(); @@ -117,7 +111,7 @@ private: virtual void DoSetClientSize(int width, int height); private: - virtual bool DoCreate(wxWindow* parent, + virtual bool XmDoCreateTLW(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, @@ -126,11 +120,6 @@ private: const wxString& name); -#if wxCHECK_VERSION(2,7,0) - #error "Remove DoDestroy(), it was only kept for binary backwards compatibility" -#endif - - virtual void DoDestroy(); DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxFrame)