]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/colordlg.cpp
Avoid core dumps when SetImageList is used.
[wxWidgets.git] / src / msw / colordlg.cpp
index 66af5ffcf7438bd9435e34244aff00ff6785c1a3..467b05a3cde72232cdbfdeb7614d068a6dc57030 100644 (file)
@@ -70,10 +70,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog)
 // colour dialog hook proc
 // ----------------------------------------------------------------------------
 
-UINT CALLBACK wxColourDialogHookProc(HWND hwnd,
-                                     UINT uiMsg,
-                                     WPARAM WXUNUSED(wParam),
-                                     LPARAM lParam)
+UINT_PTR CALLBACK
+wxColourDialogHookProc(HWND hwnd,
+                       UINT uiMsg,
+                       WPARAM WXUNUSED(wParam),
+                       LPARAM lParam)
 {
     if ( uiMsg == WM_INITDIALOG )
     {