]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/radiobox.cpp
Added files for wxNotebook and wxCocoaNSTabView
[wxWidgets.git] / src / msw / radiobox.cpp
index 0434f16e2ebefa91b85a0823e8d7e11a1a675216..29943e25c8e2f8110bf64f6e874874fa69521331 100644 (file)
@@ -823,7 +823,7 @@ bool wxRadioBox::SetFont(const wxFont& font)
 // our window proc
 // ----------------------------------------------------------------------------
 
-long wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
+WXLRESULT wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 {
     switch ( nMsg )
     {
@@ -839,7 +839,7 @@ long wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 
                 wxBrush *brush = wxTheBrushList->FindOrCreateBrush(colBack, wxSOLID);
 
-                return (WXHBRUSH)brush->GetResourceHandle();
+                return (WXLRESULT)brush->GetResourceHandle();
             }
 #endif // Win32