Backout of bug 427259 - Window class of dialog "MozillaDialogClass" breaks traditional screen reader dialog reading mechanisms to fix bug 429029 - Right click on WMP plugin and Properties or Options doesn't work
authormarco.zehe@googlemail.com
Mon, 14 Apr 2008 23:05:16 -0700
changeset 14329 7c97942069e94e461d4cfbc1c95b1079b6f9a3a8
parent 14328 ad45243a5cd950d25c98b0226427fa532948dbe2
child 14330 e08e38e3723bd68129aca98c1f3fd6f9624542b4
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs427259, 429029
milestone1.9pre
Backout of bug 427259 - Window class of dialog "MozillaDialogClass" breaks traditional screen reader dialog reading mechanisms to fix bug 429029 - Right click on WMP plugin and Properties or Options doesn't work
widget/src/windows/nsWindow.h
--- a/widget/src/windows/nsWindow.h
+++ b/widget/src/windows/nsWindow.h
@@ -93,23 +93,23 @@ PRInt32 GetWindowsVersion();
  * could break touchpad scrolling or screen readers.
  */
 const PRUint32 kMaxClassNameLength    = 40;
 const LPCWSTR kWClassNameHidden       = L"MozillaHiddenWindowClass";
 const LPCWSTR kWClassNameUI           = L"MozillaUIWindowClass";
 const LPCWSTR kWClassNameContent      = L"MozillaContentWindowClass";
 const LPCWSTR kWClassNameContentFrame = L"MozillaContentFrameWindowClass";
 const LPCWSTR kWClassNameGeneral      = L"MozillaWindowClass";
-const LPCWSTR kWClassNameDialog       = L"#32770";
+const LPCWSTR kWClassNameDialog       = L"MozillaDialogClass";
 const LPCSTR kClassNameHidden         = "MozillaHiddenWindowClass";
 const LPCSTR kClassNameUI             = "MozillaUIWindowClass";
 const LPCSTR kClassNameContent        = "MozillaContentWindowClass";
 const LPCSTR kClassNameContentFrame   = "MozillaContentFrameWindowClass";
 const LPCSTR kClassNameGeneral        = "MozillaWindowClass";
-const LPCSTR kClassNameDialog         = "#32770";
+const LPCSTR kClassNameDialog         = "MozillaDialogClass";
 
 /**
  * Native WIN32 window wrapper.
  */
 
 class nsWindow : public nsSwitchToUIThread,
                  public nsBaseWidget,
                  public nsIKBStateControl