Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d10382abd5
commit
917ad696df
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user