Various bug fixes, cosmetic changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-07 14:57:42 +00:00
parent 876419ce60
commit bb6290e351
19 changed files with 132 additions and 426 deletions

View File

@@ -1668,10 +1668,6 @@ void wxWindow::MSWOnMenuHighlight(WXWORD WXUNUSED(item), WXWORD WXUNUSED(flags),
void wxWindow::MSWOnInitMenuPopup(WXHMENU menu, int pos, bool isSystem)
{
/*
if (!isSystem)
OldOnInitMenuPopup(pos);
*/
}
bool wxWindow::MSWOnActivate(int state, bool WXUNUSED(minimized), WXHWND WXUNUSED(activate))
@@ -3592,54 +3588,6 @@ WXDWORD wxWindow::Determine3DEffects(WXDWORD defaultBorderStyle, bool *want3D)
return exStyle;
}
/*
#if WXWIN_COMPATIBILITY
void wxWindow::OldOnPaint(void)
{
wxPaintEvent event(m_windowId);
event.m_eventObject = this;
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
void wxWindow::OldOnSize(int w, int h)
{
wxSizeEvent event(wxSize(w, h), m_windowId);
event.m_eventObject = this;
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
void wxWindow::OldOnMouseEvent(wxMouseEvent& event)
{
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
void wxWindow::OldOnChar(wxKeyEvent& event)
{
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
void wxWindow::OldOnSetFocus(void)
{
wxFocusEvent event(wxEVT_SET_FOCUS, m_windowId);
event.m_eventObject = this;
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
void wxWindow::OldOnKillFocus(void)
{
wxFocusEvent event(wxEVT_KILL_FOCUS, m_windowId);
event.m_eventObject = this;
if (!GetEventHandler()->ProcessEvent(event))
Default();
};
#endif
*/
void wxWindow::OnChar(wxKeyEvent& event)
{
bool isVirtual;