From 74750ae4e632cc4857df654156afb9839ea43cfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 25 Sep 2006 14:35:16 +0000 Subject: [PATCH] compilation fix (missing void) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/toplevel.h | 2 +- src/univ/topluniv.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/univ/toplevel.h b/include/wx/univ/toplevel.h index 17681cfd9a..8b451f6ba1 100644 --- a/include/wx/univ/toplevel.h +++ b/include/wx/univ/toplevel.h @@ -122,7 +122,7 @@ public: // decorations anyhow and that by default native decorations are used // // 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); bool IsUsingNativeDecorations() const; diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index fa5ecced11..89c2cfb0c7 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -155,7 +155,8 @@ bool wxTopLevelWindow::ShowFullScreen(bool show, long style) return wxTopLevelWindowNative::ShowFullScreen(show, style); } -/* static */ wxTopLevelWindow::UseNativeDecorationsByDefault(bool native) +/* static */ +void wxTopLevelWindow::UseNativeDecorationsByDefault(bool native) { ms_drawDecorations = !native; } -- 2.50.0