]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
Fix compilation of generic message dialog.
[wxWidgets.git] / include / wx / scrolwin.h
index aae769bea40d8d218055344d4180cd9fe12ce0bf..cf9a27f234172d8d7f322c9dd9b8b907af343607 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: