]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/fontdlg.h
use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up...
[wxWidgets.git] / include / wx / msw / fontdlg.h
index cc5d04625433c4db45faaa22ad87442f903358ab..b68bb6ccf28b112183a415113856634a6e857845 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSW_FONTDLG_H_
 #define _WX_MSW_FONTDLG_H_
 
 #ifndef _WX_MSW_FONTDLG_H_
 #define _WX_MSW_FONTDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "fontdlg.h"
 #endif
 
     #pragma interface "fontdlg.h"
 #endif
 
@@ -36,7 +36,7 @@ public:
         : wxFontDialogBase(parent, data) { Create(parent, data); }
 
 protected:
         : wxFontDialogBase(parent, data) { Create(parent, data); }
 
 protected:
-    DECLARE_DYNAMIC_CLASS(wxFontDialog)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontDialog)
 };
 
 #endif
 };
 
 #endif