git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// My frame constructor
MyFrame::MyFrame(const wxChar *title)
// My frame constructor
MyFrame::MyFrame(const wxChar *title)
- : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxDefaultSize))
+ : wxFrame(NULL, wxID_ANY, title)
{
if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
SetSize(wxSize(450, 340));
{
if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
SetSize(wxSize(450, 340));
m_listCtrl = NULL;
m_logWindow = NULL;
m_smallVirtual = false;
m_listCtrl = NULL;
m_logWindow = NULL;
m_smallVirtual = false;
PopupMenu(&menu, pos.x, pos.y);
}
PopupMenu(&menu, pos.x, pos.y);
}
void OnCacheHint(wxListEvent& event);
void OnChar(wxKeyEvent& event);
void OnCacheHint(wxListEvent& event);
void OnChar(wxKeyEvent& event);
#if USE_CONTEXT_MENU
void OnContextMenu(wxContextMenuEvent& event);
#endif
private:
#if USE_CONTEXT_MENU
void OnContextMenu(wxContextMenuEvent& event);
#endif
private:
+ void ShowContextMenu(const wxPoint& pos);
+ wxLog *m_logOld;
void SetColumnImage(int col, int image);
void LogEvent(const wxListEvent& event, const wxChar *eventName);
void SetColumnImage(int col, int image);
void LogEvent(const wxListEvent& event, const wxChar *eventName);