X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/generic/tabg.h diff --git a/include/wx/generic/tabg.h b/include/wx/generic/tabg.h index 4ab53af0e7..ad11457a9d 100644 --- a/include/wx/generic/tabg.h +++ b/include/wx/generic/tabg.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: tabg.h -// Purpose: Generic tabbed dialogs +// Name: wx/generic/tabg.h +// Purpose: Generic tabbed dialogs; used by wxMotif's wxNotebook // Author: Julian Smart // Modified by: // Created: 01/02/97 @@ -27,11 +27,11 @@ class WXDLLIMPEXP_FWD_CORE wxTabView; * 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)