Added support for frames without borders (such as for
splash screen) with wxSIMPLE_BORDER Fixed tooltip bug -> recompile everything Added validators to wxListCtrl Fixed Create/Realize bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2111,21 +2111,14 @@ wxListCtrl::wxListCtrl(void)
|
||||
m_imageListState = (wxImageList *) NULL;
|
||||
}
|
||||
|
||||
wxListCtrl::wxListCtrl( wxWindow *parent, wxWindowID id,
|
||||
const wxPoint &pos, const wxSize &size,
|
||||
long style, const wxString &name )
|
||||
|
||||
{
|
||||
Create( parent, id, pos, size, style, name );
|
||||
}
|
||||
|
||||
wxListCtrl::~wxListCtrl(void)
|
||||
{
|
||||
}
|
||||
|
||||
bool wxListCtrl::Create( wxWindow *parent, wxWindowID id,
|
||||
const wxPoint &pos, const wxSize &size,
|
||||
long style, const wxString &name )
|
||||
long style, const wxValidator &validator,
|
||||
const wxString &name )
|
||||
{
|
||||
m_imageListNormal = (wxImageList *) NULL;
|
||||
m_imageListSmall = (wxImageList *) NULL;
|
||||
@@ -2140,6 +2133,8 @@ bool wxListCtrl::Create( wxWindow *parent, wxWindowID id,
|
||||
|
||||
bool ret = wxControl::Create( parent, id, pos, size, s, name );
|
||||
|
||||
SetValidator( validator );
|
||||
|
||||
m_mainWin = new wxListMainWindow( this, -1, wxPoint(0,0), size, s );
|
||||
|
||||
if (GetWindowStyleFlag() & wxLC_REPORT)
|
||||
|
Reference in New Issue
Block a user