Added method to disable focus_out handling temporarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2858,6 +2858,17 @@ void wxWindowGTK::GetTextExtent( const wxString& string,
|
||||
g_object_unref (layout);
|
||||
}
|
||||
|
||||
void wxWindowGTK::GTKDisableFocusOutEvent()
|
||||
{
|
||||
g_signal_handlers_block_by_func( m_focusWidget,
|
||||
(gpointer) gtk_window_focus_out_callback, this);
|
||||
}
|
||||
|
||||
void wxWindowGTK::GTKEnableFocusOutEvent()
|
||||
{
|
||||
g_signal_handlers_unblock_by_func( m_focusWidget,
|
||||
(gpointer) gtk_window_focus_out_callback, this);
|
||||
}
|
||||
|
||||
bool wxWindowGTK::GTKHandleFocusIn()
|
||||
{
|
||||
|
Reference in New Issue
Block a user