]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/anybutton.cpp
Remove some out of date comments.
[wxWidgets.git] / src / msw / anybutton.cpp
index 6869aec1e3692a6c212cb08184909fea77eab661..2603cdfdf32fa30ad5545baf3d412baf4bb361b6 100644 (file)
@@ -1142,7 +1142,7 @@ bool wxAnyButton::MSWOnDraw(WXDRAWITEMSTRUCT *wxdis)
     {
         wxBitmap bmp = m_imageData->GetBitmap(GetButtonState(this, state));
         if ( !bmp.IsOk() )
-            bmp = m_imageData->GetBitmap(GetNormalState());
+            bmp = m_imageData->GetBitmap(State_Normal);
 
         const wxSize sizeBmp = bmp.GetSize();
         const wxSize margin = m_imageData->GetBitmapMargins();