* Fixes and new features in wxObject*Stream

* Fixes: wxChoice (GTK), wxCheckBox (GTK)
* Fixes: wxStream
* wxObject calls wx*Serialize::LoadObject/StoreObject in StoreObject/LoadObject
* Added support for dynamic library (Linux only, Windows will follow)
* Added serbase.h (Serialization base defines and base object)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1998-08-04 17:49:26 +00:00
parent 9fdd83842f
commit 7a4b9130e3
17 changed files with 833 additions and 375 deletions

View File

@@ -179,9 +179,9 @@ wxString wxChoice::GetStringSelection(void) const
int wxChoice::Number(void) const
{
GtkMenu *menu = GTK_MENU( gtk_option_menu_get_menu( GTK_OPTION_MENU(m_widget) ) );
GtkMenuShell *menu_shell = GTK_MENU_SHELL( gtk_option_menu_get_menu( GTK_OPTION_MENU(m_widget) ) );
int count = 0;
GList *child = menu->children;
GList *child = menu_shell->children;
while (child)
{
count++;