projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update KDE guide link; added to the list of the 'Changes which are compatible' the...
[wxWidgets.git]
/
src
/
os2
/
window.cpp
diff --git
a/src/os2/window.cpp
b/src/os2/window.cpp
index 444a0756c2312a3224852fa1a1a630ac1fdde6c4..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 )
@@
-2548,7
+2548,7
@@
MRESULT wxWindowOS2::OS2WindowProc( WXUINT uMsg,
(pPage->ulPageIdNew > 0L && pPage->ulPageIdCur > 0L))
{
wxWindowOS2* pWin = wxFindWinFromHandle(pPage->hwndBook);
(pPage->ulPageIdNew > 0L && pPage->ulPageIdCur > 0L))
{
wxWindowOS2* pWin = wxFindWinFromHandle(pPage->hwndBook);
- wx
Notebook
Event vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
+ wx
BookCtrl
Event vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
,(int)SHORT1FROMMP(wParam)
,(int)pPage->ulPageIdNew
,(int)pPage->ulPageIdCur
,(int)SHORT1FROMMP(wParam)
,(int)pPage->ulPageIdNew
,(int)pPage->ulPageIdCur