Conditional compilation fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-07-30 19:14:42 +00:00
parent 534b127cac
commit eecdb0007f
2 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,8 @@
#pragma hdrstop
#endif
#if wxUSE_LISTBOX
// for all others, include the necessary headers
#ifndef WX_PRECOMP
#include "wx/log.h"
@ -43,7 +45,7 @@
#include "wx/checklst.h"
#include "widgets.h"
#if 1
#include "icons/listbox.xpm"
// ----------------------------------------------------------------------------
@ -517,4 +519,4 @@ void ListboxWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
CreateLbox();
}
#endif
#endif // wxUSE_LISTBOX

View File

@ -28,7 +28,7 @@
#pragma hdrstop
#endif
#if wxUSE_OWNER_DRAWN
#if wxUSE_CHECKLISTBOX && wxUSE_OWNER_DRAWN
#ifndef WX_PRECOMP
#include "wx/object.h"