Added wxFrame::OnCreateStatusBar and ToolBar
Added wxWindow::Raise and Lower There isn't going to be wxFrame::SetToolBar. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -123,31 +123,6 @@ bool MyApp::OnInit(void)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// MyTextCtrl
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
class MyTextCtrl : public wxTextCtrl
|
||||
{
|
||||
public:
|
||||
MyTextCtrl( wxWindow *parent, wxWindowID id, const wxString &value,
|
||||
const wxPoint &pos, const wxSize &size, int style );
|
||||
|
||||
void OnRightButton(wxCommandEvent&) { }
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
BEGIN_EVENT_TABLE(MyTextCtrl, wxTextCtrl)
|
||||
EVT_RIGHT_DOWN(MyTextCtrl::OnRightButton)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
MyTextCtrl::MyTextCtrl( wxWindow *parent, wxWindowID id, const wxString &value,
|
||||
const wxPoint &pos, const wxSize &size, int style ) :
|
||||
wxTextCtrl( parent, id, value, pos, size, style )
|
||||
{
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// MyPanel
|
||||
//----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user