// 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
{
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.
@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.
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.
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)
*/
- void SetDefault();
+ virtual wxWindow* SetDefault();
/**
Sets the string label for the button.