Comment out more old code.

This commit is contained in:
Mark de Wever 2009-10-09 22:47:43 +00:00
parent 6e0e9fbbc9
commit e31aa39538
2 changed files with 4 additions and 0 deletions

View File

@ -242,11 +242,13 @@ void ttext_box::delete_selection()
set_cursor(start, false);
}
#ifdef GUI2_OLD_EVENT_HANDLING
void ttext_box::handle_mouse_selection(
tevent_handler& event, const bool start_selection)
{
handle_mouse_selection(event.get_mouse(), start_selection);
}
#endif
void ttext_box::handle_mouse_selection(tpoint mouse, const bool start_selection)
{

View File

@ -163,9 +163,11 @@ protected:
/** Inherited from ttext_. */
void delete_selection();
#ifdef GUI2_OLD_EVENT_HANDLING
/** Handles the selection in a mouse down or mouse move event. */
void handle_mouse_selection(
tevent_handler& event, const bool start_selection);
#endif
void handle_mouse_selection(tpoint mouse, const bool start_selection);
private: