From 8ba1d512d3dfc1b61ab24bde52ea0689db798a49 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 11 Jan 2012 13:42:06 +0000 Subject: [PATCH] Only declare wxDialog::SetWindowStyleFlag() when wxUSE_DIALOG_SIZEGRIP. This method was only defined when wxUSE_DIALOG_SIZEGRIP==1 so avoid declaring it when wxUSE_DIALOG_SIZEGRIP==0 to fix compilation in this case (i.e. under Windows CE). Closes #13852. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/dialog.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 5726427683..32ff8acd0d 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -94,7 +94,9 @@ public: virtual void Raise(); +#if wxUSE_DIALOG_SIZEGRIP virtual void SetWindowStyleFlag(long style); +#endif // wxUSE_DIALOG_SIZEGRIP #ifdef __POCKETPC__ // Responds to the OK button in a PocketPC titlebar. This -- 2.45.2