diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 68fe9bb8a4..19eb664d1c 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -51,10 +51,10 @@ public: // implementation // -------------- - void HasFocus(); - void NotFocus(); - void StartSelect(); - void EndSelect(); + void GTKHasFocus(); + void GTKNotFocus(); + void GTKStartSelect(); + void GTKEndSelect(); bool m_hasFocus:1; bool m_isSelected:1; diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index 2954d03cf7..ac1cec221d 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -54,7 +54,7 @@ static void gtk_bmpbutton_enter_callback( GtkWidget *WXUNUSED(widget), wxBitmapB if (!button->m_hasVMT) return; if (g_blockEventsOnDrag) return; - button->HasFocus(); + button->GTKHasFocus(); } } @@ -68,7 +68,7 @@ static void gtk_bmpbutton_leave_callback( GtkWidget *WXUNUSED(widget), wxBitmapB if (!button->m_hasVMT) return; if (g_blockEventsOnDrag) return; - button->NotFocus(); + button->GTKNotFocus(); } } @@ -82,7 +82,7 @@ static void gtk_bmpbutton_press_callback( GtkWidget *WXUNUSED(widget), wxBitmapB if (!button->m_hasVMT) return; if (g_blockEventsOnDrag) return; - button->StartSelect(); + button->GTKStartSelect(); } } @@ -96,7 +96,7 @@ static void gtk_bmpbutton_release_callback( GtkWidget *WXUNUSED(widget), wxBitma if (!button->m_hasVMT) return; if (g_blockEventsOnDrag) return; - button->EndSelect(); + button->GTKEndSelect(); } } @@ -226,25 +226,25 @@ bool wxBitmapButton::Enable( bool enable ) return true; } -void wxBitmapButton::HasFocus() +void wxBitmapButton::GTKHasFocus() { m_hasFocus = true; OnSetBitmap(); } -void wxBitmapButton::NotFocus() +void wxBitmapButton::GTKNotFocus() { m_hasFocus = false; OnSetBitmap(); } -void wxBitmapButton::StartSelect() +void wxBitmapButton::GTKStartSelect() { m_isSelected = true; OnSetBitmap(); } -void wxBitmapButton::EndSelect() +void wxBitmapButton::GTKEndSelect() { m_isSelected = false; OnSetBitmap();