Fixed OS/2 compilation after wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/tooltip.h"
|
||||
#include "wx/os2/dcclient.h"
|
||||
|
||||
bool wxToolBar::m_bInitialized = false;
|
||||
|
||||
@@ -601,7 +602,8 @@ void wxToolBar::OnPaint (
|
||||
return;
|
||||
nCount++;
|
||||
|
||||
::WinFillRect(vDc.GetHPS(), &vDc.m_vRclPaint, GetBackgroundColour().GetPixel());
|
||||
wxPMDCImpl *impl = (wxPMDCImpl*) vDc.GetImpl();
|
||||
::WinFillRect(impl->GetHPS(), &impl->m_vRclPaint, GetBackgroundColour().GetPixel());
|
||||
for ( wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
|
||||
node;
|
||||
node = node->GetNext() )
|
||||
|
Reference in New Issue
Block a user