Don't test whether wxTopLevelWindowNative is defined.
It seems to be defined for all ports now so there is no need to check whether it is. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,17 +169,6 @@ public:
|
|||||||
// Implement internal behaviour (menu updating on some platforms)
|
// Implement internal behaviour (menu updating on some platforms)
|
||||||
virtual void OnInternalIdle();
|
virtual void OnInternalIdle();
|
||||||
|
|
||||||
// if there is no real wxTopLevelWindow on this platform we have to define
|
|
||||||
// some wxTopLevelWindowBase pure virtual functions here to avoid breaking
|
|
||||||
// old ports (wxMotif) which don't define them in wxFrame
|
|
||||||
#ifndef wxTopLevelWindowNative
|
|
||||||
virtual bool ShowFullScreen(bool WXUNUSED(show),
|
|
||||||
long WXUNUSED(style) = wxFULLSCREEN_ALL)
|
|
||||||
{ return false; }
|
|
||||||
virtual bool IsFullScreen() const
|
|
||||||
{ return false; }
|
|
||||||
#endif // no wxTopLevelWindowNative
|
|
||||||
|
|
||||||
#if wxUSE_MENUS || wxUSE_TOOLBAR
|
#if wxUSE_MENUS || wxUSE_TOOLBAR
|
||||||
// show help text for the currently selected menu or toolbar item
|
// show help text for the currently selected menu or toolbar item
|
||||||
// (typically in the status bar) or hide it and restore the status bar text
|
// (typically in the status bar) or hide it and restore the status bar text
|
||||||
|
@@ -344,7 +344,6 @@ protected:
|
|||||||
#ifdef __WXUNIVERSAL__
|
#ifdef __WXUNIVERSAL__
|
||||||
#include "wx/univ/toplevel.h"
|
#include "wx/univ/toplevel.h"
|
||||||
#else // !__WXUNIVERSAL__
|
#else // !__WXUNIVERSAL__
|
||||||
#ifdef wxTopLevelWindowNative
|
|
||||||
class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative
|
class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -364,8 +363,6 @@ protected:
|
|||||||
|
|
||||||
DECLARE_DYNAMIC_CLASS_NO_COPY(wxTopLevelWindow)
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxTopLevelWindow)
|
||||||
};
|
};
|
||||||
#endif // wxTopLevelWindowNative
|
|
||||||
#endif // __WXUNIVERSAL__/!__WXUNIVERSAL__
|
#endif // __WXUNIVERSAL__/!__WXUNIVERSAL__
|
||||||
|
|
||||||
|
|
||||||
#endif // _WX_TOPLEVEL_BASE_H_
|
#endif // _WX_TOPLEVEL_BASE_H_
|
||||||
|
Reference in New Issue
Block a user