]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
don't pass NULL pointer to printf(), this crashes Solaris printf
[wxWidgets.git] / include / wx / scrolwin.h
index aae769bea40d8d218055344d4180cd9fe12ce0bf..2655c594ddb8e52b851e9e3ee545efa8c78ce70a 100644 (file)
@@ -142,7 +142,7 @@ public:
 
 #if WXWIN_COMPATIBILITY_2_2
     // Compatibility only, don't use
-    void ViewStart(int *x, int *y) const { GetViewStart( x, y ); }
+    wxDEPRECATED( void ViewStart(int *x, int *y) const );
 #endif // WXWIN_COMPATIBILITY_2_2
 
 protected:
@@ -175,6 +175,9 @@ protected:
     // delete the event handler we installed
     void DeleteEvtHandler();
 
+    double                m_scaleX;
+    double                m_scaleY;
+
     wxWindow             *m_win,
                          *m_targetWindow;
 
@@ -194,9 +197,6 @@ protected:
     bool                  m_xScrollingEnabled;
     bool                  m_yScrollingEnabled;
 
-    double                m_scaleX;
-    double                m_scaleY;
-
 #if wxUSE_MOUSEWHEEL
     int m_wheelRotation;
 #endif // wxUSE_MOUSEWHEEL