* 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:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user