compilation fix (missing void)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-25 14:35:16 +00:00
parent fb5f907b2d
commit 74750ae4e6
2 changed files with 3 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ public:
// decorations anyhow and that by default native decorations are used // decorations anyhow and that by default native decorations are used
// //
// if UseNativeDecorations() is used, it must be called before Create() // if UseNativeDecorations() is used, it must be called before Create()
static UseNativeDecorationsByDefault(bool native = true); static void UseNativeDecorationsByDefault(bool native = true);
void UseNativeDecorations(bool native = true); void UseNativeDecorations(bool native = true);
bool IsUsingNativeDecorations() const; bool IsUsingNativeDecorations() const;

View File

@@ -155,7 +155,8 @@ bool wxTopLevelWindow::ShowFullScreen(bool show, long style)
return wxTopLevelWindowNative::ShowFullScreen(show, style); return wxTopLevelWindowNative::ShowFullScreen(show, style);
} }
/* static */ wxTopLevelWindow::UseNativeDecorationsByDefault(bool native) /* static */
void wxTopLevelWindow::UseNativeDecorationsByDefault(bool native)
{ {
ms_drawDecorations = !native; ms_drawDecorations = !native;
} }