projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no real changes, just some minor cleanup to fix a few compile- and run-time warnings...
[wxWidgets.git]
/
src
/
os2
/
accel.cpp
diff --git
a/src/os2/accel.cpp
b/src/os2/accel.cpp
index ff55bd22033a85f4d47d430165381169c4302a8f..fc5f2a319b4c8ad5be8c07b36c424d7543646be6 100644
(file)
--- a/
src/os2/accel.cpp
+++ b/
src/os2/accel.cpp
@@
-31,7
+31,7
@@
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+
virtual
~wxAcceleratorRefData();
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
@@
-75,7
+75,7
@@
wxAcceleratorTable::wxAcceleratorTable(
m_refData = new wxAcceleratorRefData;
m_refData = new wxAcceleratorRefData;
- ulId = atol(
(char*)
rResource.c_str());
+ ulId = atol(rResource.c_str());
hAccel = ::WinLoadAccelTable( vHabmain
,NULL // resources always in .exe
,(ULONG)ulId
hAccel = ::WinLoadAccelTable( vHabmain
,NULL // resources always in .exe
,(ULONG)ulId
@@
-168,10
+168,10
@@
wxAcceleratorTable::wxAcceleratorTable(
M_ACCELDATA->m_ok = (M_ACCELDATA->m_hAccel != 0);
} // end of wxAcceleratorTable::wxAcceleratorTable
M_ACCELDATA->m_ok = (M_ACCELDATA->m_hAccel != 0);
} // end of wxAcceleratorTable::wxAcceleratorTable
-bool wxAcceleratorTable::Ok() const
+bool wxAcceleratorTable::
Is
Ok() const
{
return(M_ACCELDATA && (M_ACCELDATA->m_ok));
{
return(M_ACCELDATA && (M_ACCELDATA->m_ok));
-} // end of wxAcceleratorTable::Ok
+} // end of wxAcceleratorTable::
Is
Ok
void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
{
void wxAcceleratorTable::SetHACCEL(WXHACCEL hAccel)
{