43 m_handler(this, iterator)
47 BuildContent(parent, iterator, title, message);
72 labelCtrl->SetLabel(message);
100 int minYCorrected = minSize.y;
104 if (totalHeight > minSize.y)
107 const int monitorHeight = int(std::lround(monitorRect.
GetHeight() * 0.5));
108 minYCorrected = std::max(minYCorrected, std::min(monitorHeight, totalHeight));
113 const wxSize windowSize = GetSize();
121 const wxSize sizeDiff = windowSize - listSize;
122 SetSize(
wxSize(std::max(columnWidth + sizeDiff.x, windowSize.x), minYCorrected + sizeDiff.y));
wxSize Fit(wxWindow *window)
bool GetItemRect(long item, wxRect &rect, int code=wxLIST_RECT_BOUNDS) const
const wxValidator wxDefaultValidator
virtual int GetColumnWidth(int column) const
DLLIMPORT wxRect cbGetMonitorRectForWindow(wxWindow *window)
#define wxTE_PROCESS_ENTER
void Init(wxListCtrl *list, wxTextCtrl *text)
void SetIterator(IncrementalSelectIterator *iterator)
wxSizerItem * Add(wxWindow *window, const wxSizerFlags &flags)
const wxSize wxDefaultSize
const wxPoint wxDefaultPosition
static const long ID_TEXTCTRL1
#define wxDEFAULT_DIALOG_STYLE
const wxString & _(const wxString &string)
void SetMinSize(wxPropertyGrid *grid)
void DeInit(wxWindow *window)
Class that implements a virtual list control that uses an IncrementalSelectIterator to populate the l...
long InsertColumn(long col, const wxListItem &info)
void SetSizeHints(wxWindow *window)
static const long ID_RESULT_LIST
void AddControlBelowList(wxControl *control)
void SetText(const wxString &text)
void BuildContent(wxWindow *parent, IncrementalSelectIterator *iterator, const wxString &title, const wxString &message)
IncrementalListCtrl * m_ResultList
IncrementalSelectHandler m_handler