projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
os2
/
window.cpp
diff --git
a/src/os2/window.cpp
b/src/os2/window.cpp
index 74490afd45987d6ab3b4f7aba3b6f553636e68b0..36548384d62cf83104383464598a4ee6a5f7662f 100644
(file)
--- a/
src/os2/window.cpp
+++ b/
src/os2/window.cpp
@@
-334,7
+334,7
@@
void wxWindowOS2::Init()
//
wxWindowOS2::~wxWindowOS2()
{
//
wxWindowOS2::~wxWindowOS2()
{
-
m_isBeingDeleted = true
;
+
SendDestroyEvent()
;
for (wxWindow* pWin = GetParent(); pWin; pWin = pWin->GetParent())
{
for (wxWindow* pWin = GetParent(); pWin; pWin = pWin->GetParent())
{
@@
-545,7
+545,7
@@
void wxWindowOS2::DoReleaseMouse()
/* static */ wxWindow* wxWindowBase::GetCapture()
{
HWND hwnd = ::WinQueryCapture(HWND_DESKTOP);
/* static */ wxWindow* wxWindowBase::GetCapture()
{
HWND hwnd = ::WinQueryCapture(HWND_DESKTOP);
- return hwnd ? wxFindWinFromHandle((WXHWND)hwnd) :
(wxWindow *)
NULL;
+ return hwnd ? wxFindWinFromHandle((WXHWND)hwnd) : NULL;
} // end of wxWindowBase::GetCapture
bool wxWindowOS2::SetFont( const wxFont& rFont )
} // end of wxWindowBase::GetCapture
bool wxWindowOS2::SetFont( const wxFont& rFont )