1. wxStaticBox doesn't draw over the underlying controls any more
2. a couple of new helper functions in msw/private.h: wxColourToRGB and wxRGBToColour are handy to avoid writing horribly long and ugly RGB <-> wxColour conversions explicitly 3. modified wxDirDialog to be more comprehensible (to me), hopefully it also works better git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,8 +34,8 @@ public:
|
||||
virtual void Command(wxCommandEvent &event);
|
||||
|
||||
protected:
|
||||
// creates the controls (invokes wxWindowBase::CreateBase) and adds it to
|
||||
// the list of parents children
|
||||
// creates the control (calls wxWindowBase::CreateBase inside) and adds it
|
||||
// to the list of parents children
|
||||
bool CreateControl(wxWindowBase *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
@@ -50,6 +50,18 @@ protected:
|
||||
#endif
|
||||
const wxString& name);
|
||||
|
||||
// an overloaded version for the controls without validators
|
||||
bool CreateControl(wxWindowBase *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxString& name)
|
||||
{
|
||||
return CreateControl(parent, id, pos, size, style,
|
||||
wxDefaultValidator, name);
|
||||
}
|
||||
|
||||
// inherit colour and font settings from the parent window
|
||||
void InheritAttributes();
|
||||
};
|
||||
|
Reference in New Issue
Block a user