]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/utils.h
added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch...
[wxWidgets.git] / include / wx / utils.h
index 2a811afba8f85d01a3c1e93cb9b3a0211a4b8a3f..f63fae9c3c7b2c0e91e8e70a7b04dc4638fa0b30 100644 (file)
@@ -485,6 +485,9 @@ wxDEPRECATED( inline bool wxSetEnv(const wxString& var, int value) );
 inline bool wxSetEnv(const wxString& var, int value)
 {
     wxASSERT_MSG( value == 0, "using non-NULL integer as string?" );
+
+    wxUnusedVar(value); // fix unused parameter warning in release build
+
     return wxUnsetEnv(var);
 }
 #endif // WXWIN_COMPATIBILITY_2_8