mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 11:04:50 +00:00
Comment out more old code.
This commit is contained in:
parent
6e0e9fbbc9
commit
e31aa39538
@ -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)
|
||||
{
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user