]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
ensure that we don't get stuck in modal loop forever (part of patch 649438)
[wxWidgets.git] / src / msw / statbmp.cpp
index 7adde1d63e3a06484ac4d4162bc74bc2554083e3..84857d996fc0d3bacb6ff243c50ba026c994737b 100644 (file)
@@ -5,8 +5,8 @@
 // Modified by:
 // Created:     04/01/98
 // RCS-ID:      $Id$
-// Copyright:   (c) Julian Smart and Markus Holzem
-// Licence:     wxWindows license
+// Copyright:   (c) Julian Smart
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ===========================================================================
@@ -122,7 +122,7 @@ bool wxStaticBitmap::Create(wxWindow *parent,
 #else // Win16
                            _T("BUTTON"),
 #endif // Win32/16
-                           _T(""), pos, size, style) )
+                           _T(""), pos, size) )
     {
         // control creation failed
         return FALSE;
@@ -134,6 +134,11 @@ bool wxStaticBitmap::Create(wxWindow *parent,
     return TRUE;
 }
 
+wxBorder wxStaticBitmap::GetDefaultBorder() const
+{
+    return wxBORDER_NONE;
+}
+
 WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const
 {
     WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle);