]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bmpbuttn.cpp
changed LVHITTESTINFO to LV_HITTESTINFO
[wxWidgets.git] / src / msw / bmpbuttn.cpp
index 4cad610d43400cbd3dde84dcb9b71ebe8426ff13..daf17cec627a438df146759aae689b8421d1e8b4 100644 (file)
@@ -75,8 +75,8 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bit
   m_hWnd = (WXHWND)CreateWindowEx
                    (
                     0,
-                    _T("BUTTON"),
-                    _T(""),
+                    wxT("BUTTON"),
+                    wxT(""),
                     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();
+}