X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/783e0c6d48080587b9d2c52dfe4d442682119a0d..ddadf560da7ec1d7477a40ed5b9277b6468dc5e7:/include/wx/motif/frame.h?ds=sidebyside diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index efb804eb05..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,9 +120,10 @@ private: const wxString& name); + DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxFrame) }; -#endif -// _WX_MOTIF_FRAME_H_ +#endif // _WX_MOTIF_FRAME_H_ +