From eddf46fea787f245c2b92a02f9777c597e1d9687 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 5 Feb 2002 16:44:39 +0000 Subject: [PATCH] Fixed a couple of typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gdicmn.h | 3 ++- include/wx/popupwin.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 55c7105a0b..15a0c8d25b 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -216,7 +216,8 @@ public: wxSize operator+(const wxSize& sz) { return wxSize(x + sz.x, y + sz.y); } wxSize operator-(const wxSize& sz) { return wxSize(x - sz.x, y - sz.y); } - // accessors void Set(int xx, int yy) { x = xx; y = yy; } + // accessors + void Set(int xx, int yy) { x = xx; y = yy; } void SetWidth(int w) { x = w; } void SetHeight(int h) { y = h; } diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 27779f3484..010481ec0c 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -55,7 +55,7 @@ public: #include "wx/os2/popupwin.h" #elif __WXGTK__ #include "wx/gtk/popupwin.h" -#ifdef __WXX11__ +#elif __WXX11__ #include "wx/x11/popupwin.h" #elif __WXMGL__ #include "wx/mgl/popupwin.h" -- 2.45.2