]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
Avoid double free in wxComboBox::SetClientObject.
[wxWidgets.git] / include / wx / univ / toplevel.h
index e9265722ee85ad9ae3596e8630ed072887f09394..9790eb6ca90913ecb9f533b07d6a1c283a00958d 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __WX_UNIV_TOPLEVEL_H__
 #define __WX_UNIV_TOPLEVEL_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univtoplevel.h"
 #endif