]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/accel.cpp
Late note about deprecated wxDbTable constructor.
[wxWidgets.git] / src / msw / accel.cpp
index 5f82d74601d38830f3e6429b133e420de7fe517a..cad9c19c303fa9fce28914540d21626ede79facd 100644 (file)
@@ -51,7 +51,7 @@ protected:
 
 wxAcceleratorRefData::wxAcceleratorRefData()
 {
-  m_ok = FALSE;
+  m_ok = false;
   m_hAccel = 0;
 }
 
@@ -114,7 +114,7 @@ wxAcceleratorTable::wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]
 
         bool isVirtual;
 
-        WORD key = wxCharCodeWXToMSW(entries[i].GetKeyCode(), &isVirtual);
+        WORD key = (WORD)wxCharCodeWXToMSW(entries[i].GetKeyCode(), &isVirtual);
         if (isVirtual)
             fVirt |= FVIRTKEY;