]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Compilation fix for VC++ 5 and 6
[wxWidgets.git] / include / wx / window.h
index f2227aecb535c2172ec3de7d32cbc8278c918f87..b9a8332d5c94ff378eecd1c16fdab028de4a13e3 100644 (file)
@@ -73,6 +73,8 @@ class WXDLLEXPORT wxWindow;
 class WXDLLEXPORT wxAccessible;
 #endif
 
+class WXDLLEXPORT wxWindowExtraData;
+
 // ----------------------------------------------------------------------------
 // helper stuff used by wxWindow
 // ----------------------------------------------------------------------------
@@ -1312,8 +1314,9 @@ protected:
     // implements the window variants
     virtual void DoSetWindowVariant( wxWindowVariant variant ) ;
 
-    // Reserved for future use
-    void* m_windowReserved;
+    // Was a reserved pointer in 2.6.0, now used to hold extra data members
+    // without breaking compatibility.
+    wxWindowExtraData* m_extraData;
 
 private:
     // contains the last id generated by NewControlId