Added Pop-up menus.

Hunted down bug in dnd
  Changed widget, that wxWin connects to in certain
  case (in controls, where m_widget is not the connect
  widget, such as list control and text control)
  Compile fixes all over


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-09 13:06:25 +00:00
parent 7bf854050f
commit 30dea05497
25 changed files with 149 additions and 66 deletions

View File

@@ -123,6 +123,20 @@ bool MyApp::OnInit(void)
return TRUE;
}
//----------------------------------------------------------------------
// MyTextCtrl
//----------------------------------------------------------------------
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
//----------------------------------------------------------------------