projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Produce correct SVG files in all locales.
[wxWidgets.git]
/
src
/
gtk1
/
bmpbuttn.cpp
diff --git
a/src/gtk1/bmpbuttn.cpp
b/src/gtk1/bmpbuttn.cpp
index a0f54cd27f7442a6ab13d1ba31be5b0c34f3644f..109281084a87bcb6ce07c85344c09c54332f84d2 100644
(file)
--- a/
src/gtk1/bmpbuttn.cpp
+++ b/
src/gtk1/bmpbuttn.cpp
@@
-114,8
+114,6
@@
static void gtk_bmpbutton_release_callback( GtkWidget *WXUNUSED(widget), wxBitma
// wxBitmapButton
//-----------------------------------------------------------------------------
// wxBitmapButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
-
void wxBitmapButton::Init()
{
m_hasFocus =
void wxBitmapButton::Init()
{
m_hasFocus =
@@
-203,9
+201,9
@@
void wxBitmapButton::OnSetBitmap()
if (!the_one.IsOk())
{
if (!the_one.IsOk())
{
- the_one = GetBitmapLabel();
- if (!the_one.IsOk())
- return;
+
the_one = GetBitmapLabel();
+
if (!the_one.IsOk())
+
return;
}
GdkBitmap *mask = NULL;
}
GdkBitmap *mask = NULL;