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:
David Webster
2003-01-21 23:46:27 +00:00
parent 9794cae1b3
commit b45bca403a
4 changed files with 336 additions and 607 deletions

View File

@@ -114,7 +114,6 @@ GENERICOBJS= \
..\generic\$D\helphtml.obj \
..\generic\$D\imaglist.obj \
..\generic\$D\laywin.obj \
..\generic\$D\listctrl.obj \
..\generic\$D\logg.obj \
..\generic\$D\mdig.obj \
..\generic\$D\numdlgg.obj \
@@ -161,7 +160,6 @@ GENLIBOBJS= \
helphtml.obj \
imaglist.obj \
laywin.obj \
listctrl.obj \
logg.obj \
mdig.obj \
numdlgg.obj \
@@ -510,6 +508,7 @@ OS2OBJS = \
..\os2\$D\iniconf.obj \
..\os2\$D\joystick.obj \
..\os2\$D\listbox.obj \
..\os2\$D\listctrl.obj \
..\os2\$D\main.obj \
..\os2\$D\menu.obj \
..\os2\$D\menuitem.obj \
@@ -589,13 +588,14 @@ OS2LIBOBJS1 = \
iniconf.obj \
joystick.obj \
listbox.obj \
listctrl.obj \
main.obj \
menu.obj \
menuitem.obj \
metafile.obj \
mimetype.obj
metafile.obj
OS2LIBOBJS2 = \
mimetype.obj \
msgdlg.obj \
nativdlg.obj \
notebook.obj \
@@ -856,7 +856,6 @@ $(GENLIBOBJS):
copy ..\generic\$D\helphtml.obj
copy ..\generic\$D\imaglist.obj
copy ..\generic\$D\laywin.obj
copy ..\generic\$D\listctrl.obj
copy ..\generic\$D\logg.obj
copy ..\generic\$D\mdig.obj
copy ..\generic\$D\numdlgg.obj
@@ -944,13 +943,14 @@ $(OS2LIBOBJS1):
copy ..\os2\$D\iniconf.obj
copy ..\os2\$D\joystick.obj
copy ..\os2\$D\listbox.obj
copy ..\os2\$D\listctrl.obj
copy ..\os2\$D\main.obj
copy ..\os2\$D\menu.obj
copy ..\os2\$D\menuitem.obj
copy ..\os2\$D\metafile.obj
copy ..\os2\$D\mimetype.obj
$(OS2LIBOBJS2):
copy ..\os2\$D\mimetype.obj
copy ..\os2\$D\msgdlg.obj
copy ..\os2\$D\nativdlg.obj
copy ..\os2\$D\notebook.obj

View File

@@ -1520,4 +1520,9 @@ wxBitmap wxDisableBitmap(
return(wxNullBitmap);
} // end of wxDisableBitmap
COLORREF wxColourToRGB(
const wxColour& rColor
)
{
return(OS2RGB(rColor.Red(), rColor.Green(), rColor.Blue()));
} // end of wxColourToRGB

View File

@@ -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;

File diff suppressed because it is too large Load Diff