git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52864
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// default style does not include wxAC_NO_AUTORESIZE, that is, the control
// auto-resizes by default to fit the new animation when SetAnimation() is called
// default style does not include wxAC_NO_AUTORESIZE, that is, the control
// auto-resizes by default to fit the new animation when SetAnimation() is called
-#define wxAC_DEFAULT_STYLE (wxNO_BORDER)
+#define wxAC_DEFAULT_STYLE (wxBORDER_NONE)
class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl
{
class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl
{
The meaning of name is determined by the type parameter.
@param type
See ::wxBitmapType for values this can take.
The meaning of name is determined by the type parameter.
@param type
See ::wxBitmapType for values this can take.
+ @param desiredWidth
+ The desired width for the loaded bitmap.
+ @param desiredHeight
+ The desired height for the loaded bitmap.
@returns @true if the operation succeeded, @false otherwise.
@returns @true if the operation succeeded, @false otherwise.
@see wxBitmap::LoadFile, wxBitmap::SaveFile, LoadFile()
*/
virtual bool SaveFile(const wxBitmap* bitmap, const wxString& name, wxBitmapType type,
@see wxBitmap::LoadFile, wxBitmap::SaveFile, LoadFile()
*/
virtual bool SaveFile(const wxBitmap* bitmap, const wxString& name, wxBitmapType type,
- wxPalette* palette = NULL) const;
+ const wxPalette* palette = NULL) const;
/**
Sets the handler extension.
/**
Sets the handler extension.
wxString GetLabel() const;
/**
wxString GetLabel() const;
/**
- This sets the button to be the default item for the panel or dialog box.
+ This sets the button to be the default item in its top-level window
+ (e.g. the panel or the dialog box containing it).
As normal, pressing return causes the default button to be depressed when
the return key is pressed.
As normal, pressing return causes the default button to be depressed when
the return key is pressed.
and text panel items, and wxTopLevelWindow::SetDefaultItem().
@remarks Under Windows, only dialog box buttons respond to this function.
and text panel items, and wxTopLevelWindow::SetDefaultItem().
@remarks Under Windows, only dialog box buttons respond to this function.
+
+ @returns the old default item (possibly NULL)
+ virtual wxWindow* SetDefault();
/**
Sets the string label for the button.
/**
Sets the string label for the button.