X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..c0989defa045fb64e325fc7b37b4dd2c8f21a2d8:/contrib/include/wx/fl/frmview.h diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index 8abc9efa36..1d371dc942 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -12,10 +12,6 @@ #ifndef __FRMVIEW_G__ #define __FRMVIEW_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "frmview.h" -#endif - #include "wx/module.h" #if 0 @@ -32,7 +28,7 @@ class wxFrameManager; It is not clear what this class does. It is not used elsewhere in FL. */ -class WXFL_DECLSPEC wxFrameView : public wxEvtHandler +class WXDLLIMPEXP_FL wxFrameView : public wxEvtHandler { protected: wxStringList mTopMenus; @@ -63,14 +59,14 @@ public: void CreateLayout(); wxFrameLayout* GetLayout(); void SetLayout( wxFrameLayout* pLayout ); - void SetToolUpdates( bool doToolUpdates = TRUE ); + void SetToolUpdates( bool doToolUpdates = true ); // hooks for specific frame-views virtual void OnInit() {} - virtual void OnSerialize( wxObjectStorage& store ) {} + virtual void OnSerialize( wxObjectStorage& WXUNUSED(store) ) {} virtual void OnActiveate() {} virtual void OnDeactivate() {} @@ -87,7 +83,7 @@ class wxFrame; It is not clear what this class does. It is not used elsewhere in FL. */ -class WXFL_DECLSPEC wxFrameManager : wxObject +class WXDLLIMPEXP_FL wxFrameManager : public wxObject { protected: wxList mViews; @@ -114,7 +110,8 @@ public: // if file name is empty, views are are not saved/loaded - virtual void Init( wxWindow* pMainFrame, const wxString& settingsFile = "" ); + virtual void Init( wxWindow* pMainFrame, + const wxString& settingsFile = wxEmptyString ); // synonyms wxFrame* GetParentFrame(); @@ -122,7 +119,7 @@ public: int GetActiveViewNo(); wxFrameView* GetActiveView(); - wxNode* GetActiveViewNode(); + wxObjectList::compatibility_iterator GetActiveViewNode(); wxFrameView* GetView( int viewNo );