unused variables/declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b45c2fe579
commit
4fab51ddff
@ -63,11 +63,8 @@ extern wxMenu *wxCurrentPopupMenu;
|
|||||||
extern const wxChar *wxMDIFrameClassName; // from app.cpp
|
extern const wxChar *wxMDIFrameClassName; // from app.cpp
|
||||||
extern const wxChar *wxMDIChildFrameClassName;
|
extern const wxChar *wxMDIChildFrameClassName;
|
||||||
extern const wxChar *wxMDIChildFrameClassNameNoRedraw;
|
extern const wxChar *wxMDIChildFrameClassNameNoRedraw;
|
||||||
extern void wxAssociateWinWithHandle(HWND hWnd, wxWindow *win);
|
|
||||||
extern void wxRemoveHandleAssociation(wxWindow *win);
|
extern void wxRemoveHandleAssociation(wxWindow *win);
|
||||||
|
|
||||||
static HWND invalidHandle = 0;
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
@ -1176,8 +1173,6 @@ bool wxMDIChildFrame::MSWTranslateMessage(WXMSG* msg)
|
|||||||
|
|
||||||
void wxMDIChildFrame::MSWDestroyWindow()
|
void wxMDIChildFrame::MSWDestroyWindow()
|
||||||
{
|
{
|
||||||
invalidHandle = GetHwnd();
|
|
||||||
|
|
||||||
wxMDIParentFrame *parent = (wxMDIParentFrame *)GetParent();
|
wxMDIParentFrame *parent = (wxMDIParentFrame *)GetParent();
|
||||||
|
|
||||||
// Must make sure this handle is invalidated (set to NULL) since all sorts
|
// Must make sure this handle is invalidated (set to NULL) since all sorts
|
||||||
@ -1191,8 +1186,6 @@ void wxMDIChildFrame::MSWDestroyWindow()
|
|||||||
if (parent->GetActiveChild() == (wxMDIChildFrame*) NULL)
|
if (parent->GetActiveChild() == (wxMDIChildFrame*) NULL)
|
||||||
ResetWindowStyle((void*) NULL);
|
ResetWindowStyle((void*) NULL);
|
||||||
|
|
||||||
invalidHandle = 0;
|
|
||||||
|
|
||||||
if (m_hMenu)
|
if (m_hMenu)
|
||||||
{
|
{
|
||||||
::DestroyMenu((HMENU) m_hMenu);
|
::DestroyMenu((HMENU) m_hMenu);
|
||||||
|
@ -2815,8 +2815,6 @@ bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
|
|||||||
// with many items is just too slow)
|
// with many items is just too slow)
|
||||||
NM_TREEVIEW *tv = (NM_TREEVIEW *)lParam;
|
NM_TREEVIEW *tv = (NM_TREEVIEW *)lParam;
|
||||||
|
|
||||||
wxTreeItemId item = event.m_item;
|
|
||||||
|
|
||||||
wxTreeItemParam *param =
|
wxTreeItemParam *param =
|
||||||
(wxTreeItemParam *)tv->itemOld.lParam;
|
(wxTreeItemParam *)tv->itemOld.lParam;
|
||||||
delete param;
|
delete param;
|
||||||
|
Loading…
Reference in New Issue
Block a user