Misc fixes, now menus are almost working on MicroWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2410,7 +2410,6 @@ void wxWin32Renderer::DrawSliderTicks(wxDC& dc,
|
||||
DrawLine(dc, x2, y1, x2, y2, orient == wxVERTICAL);
|
||||
}
|
||||
|
||||
#if wxUSE_MENUS
|
||||
// ----------------------------------------------------------------------------
|
||||
// menu and menubar
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -2445,7 +2444,7 @@ private:
|
||||
GetMenuGeometry(wxWindow *, const wxMenu&) const;
|
||||
};
|
||||
|
||||
#endif // wxUSE_WAVE
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
// FIXME: all constants are hardcoded but shouldn't be
|
||||
static const wxCoord MENU_LEFT_MARGIN = 9;
|
||||
@@ -2680,9 +2679,6 @@ wxMenuGeometryInfo *wxWin32Renderer::GetMenuGeometry(wxWindow *win,
|
||||
|
||||
return gi;
|
||||
}
|
||||
<<<<<<< win32.cpp
|
||||
#endif
|
||||
=======
|
||||
|
||||
#else // !wxUSE_MENUS
|
||||
|
||||
@@ -2725,7 +2721,6 @@ wxWin32Renderer::GetMenuGeometry(wxWindow *WXUNUSED(win),
|
||||
|
||||
#endif // wxUSE_MENUS/!wxUSE_MENUS
|
||||
|
||||
>>>>>>> 1.5
|
||||
// ----------------------------------------------------------------------------
|
||||
// combobox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user