]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
Fix for [ 1351655 ] wxTextValidator::OnChar not working with numeric filter
[wxWidgets.git] / src / common / imagpng.cpp
index bf3b40ab493b5cb8422a49ec8f4e4760425f5b3d..fcb4b0a0e6eb9c0d1a0c1c0d03af2595388c4157 100644 (file)
 // declarations
 // ============================================================================
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "imagpng.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -109,7 +105,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
 #if wxUSE_STREAMS
 
 #ifndef PNGLINKAGEMODE
-    #if defined(__WATCOMC__) && defined(__WXMSW__)
+    #if defined(__WATCOMC__) && ( defined(__WXMSW__) || defined(__WXMGL__) )
         // we need an explicit cdecl for Watcom, at least according to
         //
         // http://sf.net/tracker/index.php?func=detail&aid=651492&group_id=9863&atid=109863