]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/icon.cpp
don't treat filenames starting with dot as having empty name and extension equal...
[wxWidgets.git] / src / gtk1 / icon.cpp
index 05c1089158624aafc3057a570c22c04204fc849b..ef9780a56cabe17cdc35978a8e3523cc2f748bf2 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "icon.h"
 #endif
 
 #pragma implementation "icon.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/icon.h"
 
 //-----------------------------------------------------------------------------
 #include "wx/icon.h"
 
 //-----------------------------------------------------------------------------