X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/219ee9ba9d64d7e5764c5a56a46658a37e251c68..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/motif/frame.h diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index b29732525c..3815420d5e 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,11 +11,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 +47,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 +86,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 +110,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 +119,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)