win: Update states when setting checked property.

This commit is contained in:
Cheng Zhao 2014-05-26 11:34:36 +08:00
parent 6ee437e9bf
commit dfa1ae1c20
8 changed files with 50 additions and 9 deletions

View file

@ -37,7 +37,7 @@ void MenuGtk::Popup(Window* window) {
menu_gtk_->PopupAsContext(point, triggering_event_time);
}
void Menu::AttachToWindow(Window* window) {
void MenuGtk::AttachToWindow(Window* window) {
static_cast<NativeWindowGtk*>(window->window())->SetMenu(model_.get());
}