Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3148)

Unified Diff: chrome/views/controls/button/native_button_win.cc

Issue 42582: Making the enabled and visible states work in native buttons (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/views/controls/button/native_button_win.cc
===================================================================
--- chrome/views/controls/button/native_button_win.cc (revision 12464)
+++ chrome/views/controls/button/native_button_win.cc (working copy)
@@ -40,6 +40,10 @@
FALSE);
}
+void NativeButtonWin::UpdateEnabled() {
+ SetEnabled(native_button_->IsEnabled());
+}
+
void NativeButtonWin::UpdateDefault() {
if (!IsCheckbox()) {
SendMessage(GetHWND(), BM_SETSTYLE,
« no previous file with comments | « chrome/views/controls/button/native_button_win.h ('k') | chrome/views/controls/button/native_button_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698