]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bmpbuttn.cpp
small change (honour 'verbose' parameter in LoadFile)
[wxWidgets.git] / src / msw / bmpbuttn.cpp
index 9404785a6ffacac316aee628c4e97c729bb1f1b4..4bd94f56a493c3f971bed7141cc75577dd0a6ed1 100644 (file)
@@ -75,8 +75,8 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bit
   m_hWnd = (WXHWND)CreateWindowEx
                    (
                     0,
-                    "BUTTON",
-                    "",
+                    _T("BUTTON"),
+                    _T(""),
                     WS_VISIBLE | WS_TABSTOP | WS_CHILD | BS_OWNERDRAW ,
                     0, 0, 0, 0, 
                     GetWinHwnd(parent),
@@ -269,3 +269,7 @@ void wxBitmapButton::DrawButtonDisable( WXHDC dc, int left, int top, int right,
     ::SelectObject( (HDC) dc, old ) ;
 }
 
+void wxBitmapButton::SetDefault()
+{
+    wxButton::SetDefault();
+}