X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..fc4b32c270ed42e15421d2761fbf785134dd53fe:/src/gtk/bmpbuttn.cpp?ds=sidebyside diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index dc359f07c7..32ac3f8575 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -218,15 +218,15 @@ void wxBitmapButton::SetBitmap() else { if (m_isSelected) - { - the_one = m_selected; - } + { + the_one = m_selected; + } else - { + { if (m_hasFocus) - the_one = m_focus; + the_one = m_focus; else - the_one = m_bitmap; + the_one = m_bitmap; } }