]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/validate.cpp
[wxGTK2] Move wxFontRefData::SetStyle/SetWeight to wxNativeFontInfo
[wxWidgets.git] / src / common / validate.cpp
index d1ff855efb83c0a62146b2c6904e44b44f1d9f2a..f05b8d47a824069048234a1c35dbdc7d86c6cb14 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "validate.h"
 #endif
 
@@ -36,9 +36,9 @@ const wxValidator wxDefaultValidator;
 
     IMPLEMENT_DYNAMIC_CLASS(wxValidator, wxEvtHandler)
 
-// VZ: personally, I think TRUE would be more appropriate - these bells are
+// VZ: personally, I think true would be more appropriate - these bells are
 //     _annoying_
-bool wxValidator::ms_isSilent = FALSE;
+bool wxValidator::ms_isSilent = false;
 
 wxValidator::wxValidator()
 {