Remove MSVC6 support.
Don't support this compiler any more, this allows to get rid of tons of MSVC6-specific workarounds, in particular we can now use Bind() and natural template functions calls in the library code. Also remove MSVC6 project and solution files and don't generate them when bakefile_gen is ran any more (removing the remaining occurrences of msvc6prj from the bakefiles results in weird bake-time errors, so it's simpler to just leave them there). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,9 +127,7 @@ public:
|
||||
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
#ifdef wxHAS_EVENT_BIND
|
||||
void OnBind(wxCommandEvent& event);
|
||||
#endif // wxHAS_EVENT_BIND
|
||||
void OnConnect(wxCommandEvent& event);
|
||||
void OnDynamic(wxCommandEvent& event);
|
||||
void OnPushEventHandler(wxCommandEvent& event);
|
||||
@@ -247,9 +245,7 @@ wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(Event_Quit, MyFrame::OnQuit)
|
||||
EVT_MENU(Event_About, MyFrame::OnAbout)
|
||||
|
||||
#ifdef wxHAS_EVENT_BIND
|
||||
EVT_MENU(Event_Bind, MyFrame::OnBind)
|
||||
#endif // wxHAS_EVENT_BIND
|
||||
EVT_MENU(Event_Connect, MyFrame::OnConnect)
|
||||
|
||||
EVT_MENU(Event_Custom, MyFrame::OnFireCustom)
|
||||
@@ -369,10 +365,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
menuFile->Append(Event_Quit, wxT("E&xit\tAlt-X"), wxT("Quit this program"));
|
||||
|
||||
wxMenu *menuEvent = new wxMenu;
|
||||
#ifdef wxHAS_EVENT_BIND
|
||||
menuEvent->AppendCheckItem(Event_Bind, "&Bind\tCtrl-B",
|
||||
"Bind or unbind a dynamic event handler");
|
||||
#endif // wxHAS_EVENT_BIND
|
||||
menuEvent->AppendCheckItem(Event_Connect, wxT("&Connect\tCtrl-C"),
|
||||
wxT("Connect or disconnect the dynamic event handler"));
|
||||
menuEvent->Append(Event_Dynamic, wxT("&Dynamic event\tCtrl-D"),
|
||||
@@ -511,8 +505,6 @@ void MyFrame::OnDynamic(wxCommandEvent& event)
|
||||
);
|
||||
}
|
||||
|
||||
#ifdef wxHAS_EVENT_BIND
|
||||
|
||||
void MyFrame::OnBind(wxCommandEvent& event)
|
||||
{
|
||||
if ( event.IsChecked() )
|
||||
@@ -538,8 +530,6 @@ void MyFrame::OnBind(wxCommandEvent& event)
|
||||
UpdateDynamicStatus(event.IsChecked());
|
||||
}
|
||||
|
||||
#endif // wxHAS_EVENT_BIND
|
||||
|
||||
void MyFrame::OnConnect(wxCommandEvent& event)
|
||||
{
|
||||
if ( event.IsChecked() )
|
||||
|
Reference in New Issue
Block a user