// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- //#pragma implementation
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/menuitem.h"
#include "wx/checklst.h"
+#if !wxUSE_CHECKLISTBOX
+ #error "This sample can't be built without wxUSE_CHECKLISTBOX"
+#endif // wxUSE_CHECKLISTBOX
+
// Define a new application type
class CheckListBoxApp: public wxApp
{
// ctor & dtor
CheckListBoxFrame(wxFrame *frame, const wxChar *title,
int x, int y, int w, int h);
- virtual ~CheckListBoxFrame();
+ virtual ~CheckListBoxFrame(){};
// notifications
void OnQuit(wxCommandEvent& event);
m_pListBox->Select(3);
}
-CheckListBoxFrame::~CheckListBoxFrame()
-{
-}
-
void CheckListBoxFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
Close(true);