]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed WXDLLEXPORT --> GIZMOSDLLEXPORT (and added it where is wasn't
authorRobin Dunn <robin@alldunn.com>
Mon, 26 Nov 2001 19:58:06 +0000 (19:58 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 26 Nov 2001 19:58:06 +0000 (19:58 +0000)
used) so gizmos can be used with wx DLL but not be a DLL itself.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/gizmos/dynamicsash.h
contrib/include/wx/gizmos/editlbox.h
contrib/include/wx/gizmos/multicell.h
contrib/include/wx/gizmos/splittree.h

index c2ae82eb286448b5f32bb0e4b96df53e96470918..1d1a355cbb0113b8fa3a91c460391214aa8f6b90 100644 (file)
 #ifndef _WX_DYNAMICSASH_H_
 #define _WX_DYNAMICSASH_H_
 
+#ifdef GIZMOISDLL
+#define GIZMODLLEXPORT WXDLLEXPORT
+#else
+#define GIZMODLLEXPORT
+#endif
+
+
 /*
 
     wxDynamicSashWindow
@@ -95,7 +102,7 @@ class wxScrollBar;
     a child of the wxDynamicSashWindow.  wxDynamicSashWindow will
     automatically reparent it to the proper place in its window hierarchy.
 */
-class wxDynamicSashSplitEvent : public wxCommandEvent {
+class GIZMODLLEXPORT wxDynamicSashSplitEvent : public wxCommandEvent {
 public:
     wxDynamicSashSplitEvent();
     wxDynamicSashSplitEvent(const wxDynamicSashSplitEvent& event): wxCommandEvent(event) { }
@@ -117,7 +124,7 @@ private:
     the scrollbars' event handlers connected to your view's event handler
     class.
 */
-class wxDynamicSashUnifyEvent : public wxCommandEvent {
+class GIZMODLLEXPORT wxDynamicSashUnifyEvent : public wxCommandEvent {
 public:
     wxDynamicSashUnifyEvent();
     wxDynamicSashUnifyEvent(const wxDynamicSashUnifyEvent& event): wxCommandEvent(event) {}
@@ -132,7 +139,7 @@ private:
 /*
     wxDynamicSashWindow.  See above.
 */
-class wxDynamicSashWindow : public wxWindow {
+class GIZMODLLEXPORT wxDynamicSashWindow : public wxWindow {
 public:
     wxDynamicSashWindow();
     wxDynamicSashWindow(wxWindow *parent, wxWindowID id,
index 62b44f29f5d950a52f3c97778d9fb842a87b5ed8..43e339d8d7a817945c3145c6edfa8ef4b12b8c3b 100644 (file)
 
 #include "wx/panel.h"
 
+#ifdef GIZMOISDLL
+#define GIZMODLLEXPORT WXDLLEXPORT
+#else
+#define GIZMODLLEXPORT
+#endif
+
 
 class WXDLLEXPORT wxBitmapButton;
 class WXDLLEXPORT wxListCtrl;
 class WXDLLEXPORT wxListEvent;
-               
+
 // This class provides a composite control that lets the
 // user easily enter list of strings
 
-class WXDLLEXPORT wxEditableListBox : public wxPanel
+class GIZMODLLEXPORT wxEditableListBox : public wxPanel
 {
        DECLARE_CLASS(wxEditableListBox);
 
index b200c051553b26ec13e6c72703e5a09b7790035b..6c279a817a278de0234ca0e98b7608d628c6d36f 100644 (file)
        #pragma interface "multicell.h"
 #endif
 
+
+#ifdef GIZMOISDLL
+#define GIZMODLLEXPORT WXDLLEXPORT
+#else
+#define GIZMODLLEXPORT
+#endif
+
+
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -45,7 +53,7 @@ enum wxResizable
 // wxMultiCellItemHandle
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMultiCellItemHandle: public wxObject
+class GIZMODLLEXPORT wxMultiCellItemHandle: public wxObject
 {
        DECLARE_CLASS(wxMultiCellItemHandle);
 protected:
@@ -81,7 +89,7 @@ private:
 // wxMultiCellSizer
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMultiCellSizer : virtual public wxSizer
+class GIZMODLLEXPORT wxMultiCellSizer : virtual public wxSizer
 {
        DECLARE_CLASS(wxMultiCellSizer);
 
@@ -131,7 +139,7 @@ class wxCell;
 // wxMultiCellCanvas
 //---------------------------------------------------------------------------
 
-class wxMultiCellCanvas : public wxFlexGridSizer
+class GIZMODLLEXPORT wxMultiCellCanvas : public wxFlexGridSizer
 {
 public:
        wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2);
index 4be4386cda376eb21d794722ed3efba702175b7c..1b5f543796db20dfdfcf988d02d573cfc93be200 100644 (file)
        #pragma interface "splittree.h"
 #endif
 
+#ifdef GIZMOISDLL
+#define GIZMODLLEXPORT WXDLLEXPORT
+#else
+#define GIZMODLLEXPORT
+#endif
+
 // Set this to 1 to use generic tree control (doesn't yet work properly)
 #define USE_GENERIC_TREECTRL 0
 
@@ -46,7 +52,7 @@ class wxSplitterScrolledWindow;
  * It also updates the scrolled window vertical scrollbar as appropriate.
  */
 
-class wxRemotelyScrolledTreeCtrl: public wxTreeCtrl
+class GIZMODLLEXPORT wxRemotelyScrolledTreeCtrl: public wxTreeCtrl
 {
        DECLARE_CLASS(wxRemotelyScrolledTreeCtrl)
 public:
@@ -118,7 +124,7 @@ protected:
  * A window displaying values associated with tree control items.
  */
 
-class wxTreeCompanionWindow: public wxWindow
+class GIZMODLLEXPORT wxTreeCompanionWindow: public wxWindow
 {
 public:
     DECLARE_CLASS(wxTreeCompanionWindow)
@@ -132,7 +138,7 @@ public:
        virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect);
 
 //// Events
-       void OnPaint(wxPaintEvent& event);    
+       void OnPaint(wxPaintEvent& event);
     void OnScroll(wxScrollWinEvent& event);
        void OnExpand(wxTreeEvent& event);
 
@@ -157,7 +163,7 @@ protected:
  * than the usual one.
  */
 
-class wxThinSplitterWindow: public wxSplitterWindow
+class GIZMODLLEXPORT wxThinSplitterWindow: public wxSplitterWindow
 {
 public:
     DECLARE_DYNAMIC_CLASS(wxThinSplitterWindow)
@@ -176,7 +182,7 @@ public:
        void DrawSash(wxDC& dc);
 
 //// Events
-    
+
     void OnSize(wxSizeEvent& event);
 
 //// Operations
@@ -197,7 +203,7 @@ protected:
  * scroll appropriately.
  */
 
-class wxSplitterScrolledWindow: public wxScrolledWindow
+class GIZMODLLEXPORT wxSplitterScrolledWindow: public wxScrolledWindow
 {
 public:
     DECLARE_DYNAMIC_CLASS(wxSplitterScrolledWindow)
@@ -210,7 +216,7 @@ public:
 //// Overrides
 
 //// Events
-    
+
     void OnScroll(wxScrollWinEvent& event);
     void OnSize(wxSizeEvent& event);