]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/resource.cpp
Bumping the version number also requires that version.h be modified,
[wxWidgets.git] / contrib / src / deprecated / resource.cpp
index c3ba5992199ee75e07fe34b552be5b4b17f46a7f..40a9acfb40b2d54ae2b347e9f594ba2382ffa5e0 100644 (file)
@@ -25,6 +25,7 @@
 #endif // VC++
 
 #ifndef WX_PRECOMP
+    #include "wx/panel.h"
     #include "wx/list.h"
     #include "wx/hash.h"
     #include "wx/gdicmn.h"
@@ -2105,7 +2106,9 @@ static wxResourceBitListStruct wxResourceBitListTable[] =
     { wxT("wxCB_SORT"), wxCB_SORT },
 
     /* wxGauge */
+#if WXWIN_COMPATIBILITY_2_6
     { wxT("wxGA_PROGRESSBAR"), wxGA_PROGRESSBAR },
+#endif // WXWIN_COMPATIBILITY_2_6
     { wxT("wxGA_HORIZONTAL"), wxGA_HORIZONTAL },
     { wxT("wxGA_VERTICAL"), wxGA_VERTICAL },
 
@@ -2223,7 +2226,9 @@ static wxResourceBitListStruct wxResourceBitListTable[] =
     { wxT("wxSYSTEM_MENU"), wxSYSTEM_MENU},
     { wxT("wxMINIMIZE_BOX"), wxMINIMIZE_BOX},
     { wxT("wxMAXIMIZE_BOX"), wxMAXIMIZE_BOX},
+#if WXWIN_COMPATIBILITY_2_6
     { wxT("wxRESIZE_BOX"), wxRESIZE_BOX},
+#endif // WXWIN_COMPATIBILITY_2_6
     { wxT("wxDEFAULT_FRAME_STYLE"), wxDEFAULT_FRAME_STYLE},
     { wxT("wxDEFAULT_FRAME"), wxDEFAULT_FRAME_STYLE},
     { wxT("wxDEFAULT_DIALOG_STYLE"), wxDEFAULT_DIALOG_STYLE},