OS/2 Statusbar support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -175,6 +175,13 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
|
|||||||
{
|
{
|
||||||
wxPaintDC dc(this);
|
wxPaintDC dc(this);
|
||||||
|
|
||||||
|
#ifdef __WXPM__
|
||||||
|
RECTL wrectl;
|
||||||
|
|
||||||
|
::WinQueryWindowRect(GetHWND(), &wrectl);
|
||||||
|
::WinFillRect(dc.GetHDC(), &wrectl, CLR_BLACK);
|
||||||
|
#else
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
if ( GetFont().Ok() )
|
if ( GetFont().Ok() )
|
||||||
dc.SetFont(GetFont());
|
dc.SetFont(GetFont());
|
||||||
@@ -186,6 +193,7 @@ void wxStatusBarGeneric::OnPaint(wxPaintEvent& WXUNUSED(event) )
|
|||||||
# ifdef __WXMSW__
|
# ifdef __WXMSW__
|
||||||
dc.SetFont(wxNullFont);
|
dc.SetFont(wxNullFont);
|
||||||
# endif // MSW
|
# endif // MSW
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i)
|
void wxStatusBarGeneric::DrawFieldText(wxDC& dc, int i)
|
||||||
|
Reference in New Issue
Block a user