X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5a5362e55572bcc057d014c5bdde81d75804653..01c226691aabe0eb4bfe86c04b4b9a59d7af367a:/src/gtk1/bmpbuttn.cpp diff --git a/src/gtk1/bmpbuttn.cpp b/src/gtk1/bmpbuttn.cpp index a0f54cd27f..18d3951163 100644 --- a/src/gtk1/bmpbuttn.cpp +++ b/src/gtk1/bmpbuttn.cpp @@ -203,9 +203,9 @@ void wxBitmapButton::OnSetBitmap() if (!the_one.IsOk()) { - the_one = GetBitmapLabel(); - if (!the_one.IsOk()) - return; + the_one = GetBitmapLabel(); + if (!the_one.IsOk()) + return; } GdkBitmap *mask = NULL;