New native OS/2 list control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3987,6 +3987,21 @@ void wxWindowOS2::OnSysColourChanged(
|
||||
// painting
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
void wxWindow::OnPaint (
|
||||
wxPaintEvent& rEvent
|
||||
)
|
||||
{
|
||||
HDC hDC = (HDC)wxPaintDC::FindDCInCache((wxWindow*) rEvent.GetEventObject());
|
||||
|
||||
if (hDC != 0)
|
||||
{
|
||||
OS2DefWindowProc( (WXUINT)WM_PAINT
|
||||
,(WXWPARAM)hDC
|
||||
,(WXLPARAM)0
|
||||
);
|
||||
}
|
||||
} // end of wxWindow::OnPaint
|
||||
|
||||
bool wxWindowOS2::HandlePaint()
|
||||
{
|
||||
HRGN hRgn;
|
||||
|
Reference in New Issue
Block a user