]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ownerdrw.cpp
Fix compilation for some wxMSW configurations.
[wxWidgets.git] / src / msw / ownerdrw.cpp
index c1dbd9520700673398482ed780299f3ffc3e0f29..29467f8417987aa6a54d64fd74f23fdad683ea18 100644 (file)
@@ -294,14 +294,9 @@ bool wxOwnerDrawn::OnMeasureItem(size_t *pwidth, size_t *pheight)
 // draw the item
 bool wxOwnerDrawn::OnDrawItem(wxDC& dc,
                               const wxRect& rc,
-                              wxODAction act,
+                              wxODAction,
                               wxODStatus st)
 {
-    // we do nothing on focus change
-    if ( act == wxODFocusChanged )
-        return true;
-
-
     // this flag determines whether or not an edge will
     // be drawn around the bitmap. In most "windows classic"
     // applications, a 1-pixel highlight edge is drawn around
@@ -577,7 +572,7 @@ BOOL wxDrawStateBitmap(HDC hDC, HBITMAP hBitmap, int x, int y, UINT uState)
             break;
 
         default:
-            wxFAIL_MSG( _T("DrawStateBitmap: unknown wxDSBStates value") );
+            wxFAIL_MSG( wxT("DrawStateBitmap: unknown wxDSBStates value") );
             result = FALSE;
     }