X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1dc9f8394c1488ad8e7d945e6f943f7b34554ce..e143fb636d50d5802dcc8c7c2e9e8e2944afa467:/include/wx/generic/tabg.h?ds=inline diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index c65ed02607..3899cadd94 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: tabg.h -// Purpose: Generic tabbed dialogs +// Purpose: Generic tabbed dialogs; used by wxMotif's wxNotebook // Author: Julian Smart // Modified by: // Created: 01/02/97 @@ -20,18 +20,18 @@ #include "wx/panel.h" #include "wx/list.h" -class WXDLLEXPORT wxTabView; +class WXDLLIMPEXP_FWD_CORE wxTabView; /* * A wxTabControl is the internal and visual representation * of the tab. */ -class WXDLLEXPORT wxTabControl: public wxObject +class WXDLLIMPEXP_CORE wxTabControl: public wxObject { DECLARE_DYNAMIC_CLASS(wxTabControl) public: - wxTabControl(wxTabView *v = (wxTabView *) NULL); + wxTabControl(wxTabView *v = NULL); virtual ~wxTabControl(void); virtual void OnDraw(wxDC& dc, bool lastInRow); @@ -81,7 +81,7 @@ protected: * are 3 layers in the MS Word Options dialog. */ -class WXDLLEXPORT wxTabLayer: public wxList +class WXDLLIMPEXP_CORE wxTabLayer: public wxList { }; @@ -94,7 +94,7 @@ WX_DECLARE_LIST(wxTabLayer, wxTabLayerList); #define wxTAB_STYLE_DRAW_BOX 1 // Draws 3D boxes round tab layers #define wxTAB_STYLE_COLOUR_INTERIOR 2 // Colours interior of tabs, otherwise draws outline -class WXDLLEXPORT wxTabView: public wxObject +class WXDLLIMPEXP_CORE wxTabView: public wxObject { DECLARE_DYNAMIC_CLASS(wxTabView) public: @@ -108,7 +108,7 @@ public: inline wxWindow* GetWindow(void) const { return m_window; } // Automatically positions tabs - wxTabControl *AddTab(int id, const wxString& label, wxTabControl *existingTab = (wxTabControl *) NULL); + wxTabControl *AddTab(int id, const wxString& label, wxTabControl *existingTab = NULL); // Remove the tab without deleting the window bool RemoveTab(int id); @@ -266,7 +266,7 @@ protected: * A dialog box class that is tab-friendly */ -class WXDLLEXPORT wxTabbedDialog : public wxDialog +class WXDLLIMPEXP_CORE wxTabbedDialog : public wxDialog { DECLARE_DYNAMIC_CLASS(wxTabbedDialog) @@ -298,7 +298,7 @@ private: * A panel class that is tab-friendly */ -class WXDLLEXPORT wxTabbedPanel : public wxPanel +class WXDLLIMPEXP_CORE wxTabbedPanel : public wxPanel { DECLARE_DYNAMIC_CLASS(wxTabbedPanel) @@ -327,7 +327,7 @@ private: WX_DECLARE_HASH_MAP(int, wxWindow*, wxIntegerHash, wxIntegerEqual, wxIntToWindowHashMap); -class WXDLLEXPORT wxPanelTabView : public wxTabView +class WXDLLIMPEXP_CORE wxPanelTabView : public wxTabView { DECLARE_DYNAMIC_CLASS(wxPanelTabView)