xti changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,8 +127,9 @@ END_EVENT_TABLE()
|
||||
// separately otherwise chaos occurs. Right now easiest is to test for negative ids,
|
||||
// as windows with negative ids never can be recreated anyway
|
||||
|
||||
|
||||
bool wxWindowStreamingCallback( const wxObject *object, wxObjectWriter *,
|
||||
wxObjectReaderCallback *, wxVariantBaseArray & )
|
||||
wxObjectWriterCallback *, const wxStringToAnyHashMap & )
|
||||
{
|
||||
const wxWindow * win = wx_dynamic_cast(const wxWindow*, object);
|
||||
if ( win && win->GetId() < 0 )
|
||||
@@ -144,9 +145,9 @@ wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxWindow, wxWindowBase, "wx/window.h", \
|
||||
wxCOLLECTION_TYPE_INFO( wxWindow*, wxWindowList );
|
||||
|
||||
template<> void wxCollectionToVariantArray( wxWindowList const &theList,
|
||||
wxVariantBaseArray &value)
|
||||
wxAnyList &value)
|
||||
{
|
||||
wxListCollectionToVariantArray<wxWindowList::compatibility_iterator>( theList, value );
|
||||
wxListCollectionToAnyList<wxWindowList::compatibility_iterator>( theList, value );
|
||||
}
|
||||
|
||||
wxDEFINE_FLAGS( wxWindowStyle )
|
||||
@@ -215,9 +216,9 @@ wxPROPERTY( BackgroundColour, wxColour, SetBackgroundColour, GetBackgroundColour
|
||||
wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) // bg
|
||||
wxPROPERTY( ForegroundColour, wxColour, SetForegroundColour, GetForegroundColour, \
|
||||
wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) // fg
|
||||
wxPROPERTY( Enabled, bool, Enable, IsEnabled, wxVariantBase((bool)true), 0 /*flags*/, \
|
||||
wxPROPERTY( Enabled, bool, Enable, IsEnabled, wxAny((bool)true), 0 /*flags*/, \
|
||||
wxT("Helpstring"), wxT("group"))
|
||||
wxPROPERTY( Shown, bool, Show, IsShown, wxVariantBase((bool)true), 0 /*flags*/, \
|
||||
wxPROPERTY( Shown, bool, Show, IsShown, wxAny((bool)true), 0 /*flags*/, \
|
||||
wxT("Helpstring"), wxT("group"))
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user