]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/icon.cpp
added some utils (tex2rtf, helpgen, makegen) to make system
[wxWidgets.git] / src / os2 / icon.cpp
index b03ecf734ee4e033b1f151e628584199a7632d0d..d3d3f49313996ca6a582ffc70e99f1d76268ef0d 100644 (file)
@@ -29,9 +29,7 @@
 
 #include "wx/icon.h"
 
-#if !USE_SHARED_LIBRARIES
     IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxIconBase)
-#endif
 
 // ============================================================================
 // implementation
@@ -89,6 +87,7 @@ bool wxIcon::LoadFile(
 )
 {
     wxGDIImageHandler*              pHandler = FindHandler(lType);
+    HPS                             hPs = NULLHANDLE;
 
     UnRef();
     m_refData = new wxIconRefData;
@@ -96,6 +95,7 @@ bool wxIcon::LoadFile(
     if (pHandler)
         return(pHandler->Load( this
                               ,rFilename
+                              ,hPs
                               ,lType
                               ,nDesiredWidth
                               ,nDesiredHeight