1. corrected bug in MDI sample (which resulted in missing horz scrollbar)

2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
   show client data from events in the log messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-24 23:40:42 +00:00
parent 225fe9d6ef
commit c41ea66a5d
6 changed files with 344 additions and 305 deletions

View File

@@ -14,9 +14,6 @@ class MyApp: public wxApp
{
public:
virtual bool OnInit();
wxImageList *m_imageListNormal;
wxImageList *m_imageListSmall;
};
class MyListCtrl: public wxListCtrl
@@ -44,6 +41,9 @@ public:
void OnChar(wxKeyEvent& event);
private:
void LogEvent(const wxListEvent& event, const wxChar *eventName);
DECLARE_EVENT_TABLE()
};
@@ -54,7 +54,7 @@ public:
MyListCtrl *m_listCtrl;
wxTextCtrl *m_logWindow;
MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h);
MyFrame(const wxChar *title, int x, int y, int w, int h);
~MyFrame();
public:
@@ -77,6 +77,12 @@ public:
void BusyOn(wxCommandEvent& event);
void BusyOff(wxCommandEvent& event);
wxImageList *m_imageListNormal;
wxImageList *m_imageListSmall;
private:
wxLog *m_logOld;
DECLARE_EVENT_TABLE()
};