]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrthumb.h
Ensure that key events are sent to focused window first in wxGTK.
[wxWidgets.git] / include / wx / univ / scrthumb.h
index 48bbd563be59739e2e5fa0ab8e5a72fc42e4f659..25a6ce98e0a977dd2f7b6f3307d00bd843453dc2 100644 (file)
 // This class is similar to wxScrollThumb.
 // ----------------------------------------------------------------------------
 
 // This class is similar to wxScrollThumb.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlWithThumb;
-class WXDLLEXPORT wxMouseEvent;
-class WXDLLEXPORT wxRect;
-class WXDLLEXPORT wxScrollTimer;
+class WXDLLIMPEXP_FWD_CORE wxControlWithThumb;
+class WXDLLIMPEXP_FWD_CORE wxMouseEvent;
+class WXDLLIMPEXP_FWD_CORE wxRect;
+class WXDLLIMPEXP_FWD_CORE wxScrollTimer;
 
 #include "wx/timer.h"
 
 
 #include "wx/timer.h"
 
@@ -31,7 +31,7 @@ class WXDLLEXPORT wxScrollTimer;
 // wxScrollThumb: an abstraction of scrollbar thumb
 // ----------------------------------------------------------------------------
 
 // wxScrollThumb: an abstraction of scrollbar thumb
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollThumb
+class WXDLLIMPEXP_CORE wxScrollThumb
 {
 public:
     enum Shaft
 {
 public:
     enum Shaft
@@ -76,16 +76,18 @@ private:
     Shaft m_shaftPart;
 
     // the data for the mouse capture
     Shaft m_shaftPart;
 
     // the data for the mouse capture
-    struct WXDLLEXPORT wxScrollThumbCaptureData *m_captureData;
+    struct WXDLLIMPEXP_FWD_CORE wxScrollThumbCaptureData *m_captureData;
 };
 
 // ----------------------------------------------------------------------------
 // wxControlWithThumb: interface implemented by controls using wxScrollThumb
 // ----------------------------------------------------------------------------
 
 };
 
 // ----------------------------------------------------------------------------
 // wxControlWithThumb: interface implemented by controls using wxScrollThumb
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlWithThumb
+class WXDLLIMPEXP_CORE wxControlWithThumb
 {
 public:
 {
 public:
+    virtual ~wxControlWithThumb() {}
+
     // simple accessors
     // ----------------
 
     // simple accessors
     // ----------------