From: Václav Slavík Date: Mon, 25 Sep 2006 14:35:16 +0000 (+0000) Subject: compilation fix (missing void) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/74750ae4e632cc4857df654156afb9839ea43cfb compilation fix (missing void) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }