]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
wxMenu and wxMenuBar modifications: now works much better with owner-drawn
[wxWidgets.git] / src / msw / scrolbar.cpp
index 904fc74ec7a246b09d70cb6f07d0431285e94f73..bac5e67a093db4de70e7ac16f46220ad28a5f91a 100644 (file)
@@ -100,7 +100,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
     ::SetScrollPos(scroll_bar, SB_CTL, 0, FALSE);
     ShowWindow(scroll_bar, SW_SHOW);
 
-    SetFont(parent->GetFont());
+    SetFont(parent->GetFont());
 
     m_hWnd = (WXHWND)scroll_bar;