The last drops of WINE.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-06-09 18:09:47 +00:00
parent a8561a273b
commit 4286a5b595
10 changed files with 39 additions and 18 deletions

View File

@@ -2458,13 +2458,13 @@ bool wxWindow::HandleSetCursor(WXHWND hWnd,
return FALSE;
}
#if wxUSE_OWNER_DRAWN
// ---------------------------------------------------------------------------
// owner drawn stuff
// ---------------------------------------------------------------------------
bool wxWindow::MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *itemStruct)
{
#if wxUSE_OWNER_DRAWN
// is it a menu item?
if ( id == 0 )
{
@@ -2494,11 +2494,14 @@ bool wxWindow::MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *itemStruct)
return ((wxControl *)item)->MSWOnDraw(itemStruct);
}
else
#endif
return FALSE;
}
bool wxWindow::MSWOnMeasureItem(int id, WXMEASUREITEMSTRUCT *itemStruct)
{
#if wxUSE_OWNER_DRAWN
// is it a menu item?
if ( id == 0 )
{
@@ -2516,10 +2519,9 @@ bool wxWindow::MSWOnMeasureItem(int id, WXMEASUREITEMSTRUCT *itemStruct)
{
return ((wxControl *)item)->MSWOnMeasure(itemStruct);
}
#endif // owner-drawn menus
return FALSE;
}
#endif // owner-drawn menus
// ---------------------------------------------------------------------------
// colours and palettes