Compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-08-30 17:55:22 +00:00
parent d10382abd5
commit 917ad696df
3 changed files with 3 additions and 2 deletions

View File

@ -236,7 +236,7 @@ void ctCustomPropertyDialog::OnPropertyChoiceRemove( wxCommandEvent& event )
if (listBox->GetSelection() > -1)
{
listBox->Delete(listBox->GetSelection());
m_choices.Remove(listBox->GetSelection());
m_choices.RemoveAt(listBox->GetSelection());
}
}

View File

@ -23,6 +23,7 @@
#include "wx/notebook.h"
#include "wx/splitter.h"
#include "wx/clipbrd.h"
#include "wx/dataobj.h"
#include "wx/cshelp.h"
#include "wxconfigtool.h"

View File

@ -144,7 +144,7 @@ public:
// enabled/disabled
int GetStateCount() const { return m_maxStates; };
void SetStateCount(int count) { m_maxStates; }
void SetStateCount(int count) { m_maxStates = count; }
int GetIconId(int state, bool enabled = TRUE) const;
void SetIconId(int state, bool enabled, int iconId);