]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/power.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / power.h
index bae6406482068e507b99a98fb7d3f01a756e34ce..e55cd60bcc63b3fb4ea479a575c287fa65c30629 100644 (file)
@@ -42,7 +42,7 @@ enum wxBatteryState
 // compiling in the code for handling them which is never going to be invoked
 // under the other platforms, we define wxHAS_POWER_EVENTS symbol if this event
 // is available, it should be used to guard all code using wxPowerEvent
-#ifdef __WXMSW__
+#ifdef __WINDOWS__
 
 #define wxHAS_POWER_EVENTS