]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
Added George Tasker's forward slash fix to file dialog; added some consts to prntbase.h;
[wxWidgets.git] / src / msw / listbox.cpp
index 29eda8f23330850e6b39e698afe17fc55bf73370..9de6a74b3be04c2b79255a5507b713d6cf50ff11 100644 (file)
@@ -216,7 +216,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
 
   wxCHECK_MSG( m_hWnd, FALSE, "Failed to create listbox" );
 
-#if CTL3D
+#if wxUSE_CTL3D
   if (want3D)
   {
     Ctl3dSubclassCtl(hwnd);
@@ -688,7 +688,7 @@ void wxListBox::Command (wxCommandEvent & event)
 WXHBRUSH wxListBox::OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
                        WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
 {
-#if CTL3D
+#if wxUSE_CTL3D
   if ( m_useCtl3D )
   {
     HBRUSH hbrush = Ctl3dCtlColorEx(message, wParam, lParam);