47 Disconnect(idList, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED,
48 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
50 Disconnect(idList, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED,
51 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
53 Disconnect(idMenuFit, -1, wxEVT_COMMAND_MENU_SELECTED,
54 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
56 Disconnect(idMenuAutoFit, -1, wxEVT_COMMAND_MENU_SELECTED,
57 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
65 Connect(idList, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED,
66 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
68 Connect(idList, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED,
69 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
71 Connect(idMenuFit, -1, wxEVT_COMMAND_MENU_SELECTED,
72 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
74 Connect(idMenuAutoFit, -1, wxEVT_COMMAND_MENU_SELECTED,
75 (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)
99 menu.
Append(idMenuFit,
_(
"Fit text"),
_(
"Makes the whole text visible"));
101 _(
"Automatically makes the whole text visible during compilation"));
160 for (
int ii = 0; ii < count; ++ii)
162 int ctrlWidth =
control->GetClientSize().x;
163 for (
int ii = 1; ii < count; ++ii)
166 if (width > ctrlWidth)
int GetColumnWidth(int col) const
int GetSelectedItemCount() const
ConfigManager * GetConfigManager(const wxString &name_space) const
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
long GetNextItem(long item, int geometry=wxLIST_NEXT_ALL, int state=wxLIST_STATE_DONTCARE) const
virtual ~CompilerMessages()
bool ReadBool(const wxString &name, bool defaultVal=false)
a logger which prints messages to a wxListCtrl
void OnFit(wxCommandEvent &event)
#define wxLIST_STATE_SELECTED
void OnAutoFit(wxCommandEvent &event)
wxWindow * GetAppWindow() const
bool SetItemState(long item, long state, long stateMask)
void Write(const wxString &name, const wxString &value, bool ignoreEmpty=false)
void OnClick(wxCommandEvent &event)
bool HasFeature(Feature::Enum feature) const override
virtual wxWindow * CreateControl(wxWindow *parent)
const wxString & _(const wxString &string)
wxWindow * CreateControl(wxWindow *parent) override
wxArray< int > wxArrayInt
CompilerErrors * m_pErrors
virtual bool HasFeature(Feature::Enum feature) const
void OnDoubleClick(wxCommandEvent &event)
int GetColumnCount() const
bool SetColumnWidth(int col, int width)
void AutoFitColumns(int column)
bool EnsureVisible(long item)
virtual void FocusError(int nr)
#define wxLIST_STATE_FOCUSED