don't get margin to non NULL values in default ctor, this is inconsistent as default ctor + Create() don't do the same thing as non default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: bmpbuttn.h
|
||||
// Name: wx/msw/bmpbuttn.h
|
||||
// Purpose: wxBitmapButton class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
@@ -21,8 +21,8 @@
|
||||
class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
|
||||
{
|
||||
public:
|
||||
wxBitmapButton()
|
||||
{ m_marginX = m_marginY = wxDEFAULT_BUTTON_MARGIN; }
|
||||
wxBitmapButton() { }
|
||||
|
||||
wxBitmapButton(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxBitmap& bitmap,
|
||||
|
||||
Reference in New Issue
Block a user