]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/minifram.cpp
1. some more of "#if wxUSE_XXX" here and there
[wxWidgets.git] / src / msw / minifram.cpp
index 83f8fa9558e8a5ccc41a5f481f0f5089d0cefa8d..67c1df931a3e989a54b1984f19468be4fe86c395 100644 (file)
@@ -967,7 +967,11 @@ BOOL PASCAL DrawCaption( HDC hDC, HWND hWnd, LPRECT lprc,
             rgbText = SetTextColor( hDC, rgbText ) ;
             SetBkMode( hDC, nBkMode ) ;
             
+#ifdef __WIN16__
+            GlobalFreePtr( (unsigned int) lpsz ) ;
+#else
             GlobalFreePtr( lpsz ) ;
+#endif
         }
     }