]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
ignore hidden windows when deciding if the MDI parent frame should be visible
[wxWidgets.git] / src / common / imagpng.cpp
index bf3b40ab493b5cb8422a49ec8f4e4760425f5b3d..84c0d89c93d014a00996899c57052ad577b10edb 100644 (file)
@@ -109,7 +109,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)
 #if wxUSE_STREAMS
 
 #ifndef PNGLINKAGEMODE
-    #if defined(__WATCOMC__) && defined(__WXMSW__)
+    #if defined(__WATCOMC__) && ( defined(__WXMSW__) || __WATCOMC__ > 1230 )
         // 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