]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_gauge.cpp
don't invalidate the tree size when pages are added/removed, we don't want the tree...
[wxWidgets.git] / src / xrc / xh_gauge.cpp
index 832c7e3960d08ba893acb6e414fc7b20cb3a4527..2b8a9b97910fe736eb723882a5cab01c5985ba8b 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_gauge.cpp
+// Name:        src/xrc/xh_gauge.cpp
 // Purpose:     XRC resource for wxGauge
 // Author:      Bob Mitchell
 // Created:     2000/03/21
@@ -27,7 +27,9 @@ wxGaugeXmlHandler::wxGaugeXmlHandler()
 {
     XRC_ADD_STYLE(wxGA_HORIZONTAL);
     XRC_ADD_STYLE(wxGA_VERTICAL);
+#if WXWIN_COMPATIBILITY_2_6
     XRC_ADD_STYLE(wxGA_PROGRESSBAR);
+#endif // WXWIN_COMPATIBILITY_2_6
     XRC_ADD_STYLE(wxGA_SMOOTH);   // windows only
     AddWindowStyles();
 }