下記のページ
http://docs.wxwidgets.org/2.8/wx_wxcommandevent.html
でwxCommandEventを勉強していたのですが、
GetIntとGetSelectionの違いがよく分かりません。
GetIntは
wxCommandEvent::GetInt
int GetInt()
Returns the integer identifier corresponding to a listbox, choice or radiobox selection (only if the event was a selection, not a deselection), or a boolean value representing the value of a checkbox.
と書いてあり、GetSelectionは
Returns item index for a listbox or choice selection event (not valid for a deselection).
と書いてあるのですが、GetIntの選択されたリストボックスに対応付けられたInt型と言うのはGetSelectionで返される値と何か違うものなのでしょうか?
【GUI】wxWidgets(旧wxWindows) その5【サイザー】
319デフォルトの名無しさん
2011/12/16(金) 06:38:53.32レスを投稿する
