From: Vadim Zeitlin Date: Sat, 21 Jul 2007 23:54:55 +0000 (+0000) Subject: correct closing comments in #endifs (patch 1756990) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b0f76951bc2d09a53d7e035e665fd348403c98f9?hp=9222c61388957c628110810e3c3e37ed49df96a0 correct closing comments in #endifs (patch 1756990) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/anidecod.h b/include/wx/anidecod.h index ee5e719c2d..ca9914f1aa 100644 --- a/include/wx/anidecod.h +++ b/include/wx/anidecod.h @@ -72,6 +72,6 @@ private: }; -#endif // wxUSE_STREAM && wxUSE_ICO_CUR +#endif // wxUSE_STREAMS && wxUSE_ICO_CUR #endif // _WX_ANIDECOD_H diff --git a/include/wx/animdecod.h b/include/wx/animdecod.h index 2194643578..0af0491816 100644 --- a/include/wx/animdecod.h +++ b/include/wx/animdecod.h @@ -141,6 +141,6 @@ protected: }; -#endif // wxUSE_STREAM +#endif // wxUSE_STREAMS #endif // _WX_ANIMDECOD_H diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index f1a754a227..fcdf76d5fc 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -105,6 +105,6 @@ private: DECLARE_NO_COPY_CLASS(wxGIFDecoder) }; -#endif // wxUSE_STREAM && wxUSE_GIF +#endif // wxUSE_STREAMS && wxUSE_GIF #endif // _WX_GIFDECOD_H_ diff --git a/src/common/dpycmn.cpp b/src/common/dpycmn.cpp index e728d1b885..f8dcb43e85 100644 --- a/src/common/dpycmn.cpp +++ b/src/common/dpycmn.cpp @@ -205,7 +205,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode) return m_impl->ChangeMode(mode); } -#endif // wxUSE_DIRECTDRAW +#endif // wxUSE_DISPLAY // ---------------------------------------------------------------------------- // static functions implementation diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 7cd583b699..68adf5fb90 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -384,7 +384,7 @@ void wxFrame::GtkOnSize() yy = GetClientSize().y; #if wxUSE_MENUS_NATIVE yy += m_menuBarHeight; -#endif // wxUSE_MENU_NATIVE +#endif // wxUSE_MENUS_NATIVE m_frameToolBar->m_x = xx; m_frameToolBar->m_y = yy; ww = m_width - 2*m_miniEdge; diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index 84590d5759..6c57967a5f 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -183,14 +183,14 @@ void wxApp::WakeUpIdle() #if wxUSE_THREADS if (!wxThread::IsMain()) wxMutexGuiEnter(); -#endif // wxUSE_THREADS_ +#endif // wxUSE_THREADS wxapp_install_idle_handler(); #if wxUSE_THREADS if (!wxThread::IsMain()) wxMutexGuiLeave(); -#endif // wxUSE_THREADS_ +#endif // wxUSE_THREADS } //----------------------------------------------------------------------------- diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 566e52abd7..42f44e24fc 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -257,4 +257,4 @@ bool wxToggleButton::Create( wxWindow* parent, wxWindowID id, return true; } -#endif // wxUSE_TOGGLEBUTTON +#endif // wxUSE_TOGGLEBTN diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 07db51f0ab..d378180775 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -61,7 +61,7 @@ public: #endif #if !wxMOTIF_USE_RENDER_TABLE WXFontList m_fontList; // Motif XmFontList -#else // if wxUSE_RENDER_TABLE +#else // if wxMOTIF_USE_RENDER_TABLE WXRenderTable m_renderTable; // Motif XmRenderTable WXRendition m_rendition; // Motif XmRendition #endif @@ -147,7 +147,7 @@ wxXFont::~wxXFont() if (m_fontList) XmFontListFree ((XmFontList) m_fontList); m_fontList = NULL; -#else // if wxUSE_RENDER_TABLE +#else // if wxMOTIF_USE_RENDER_TABLE if (m_renderTable) XmRenderTableFree ((XmRenderTable) m_renderTable); m_renderTable = NULL; diff --git a/src/msw/ole/automtn.cpp b/src/msw/ole/automtn.cpp index a48d158ed4..0a80f775cb 100644 --- a/src/msw/ole/automtn.cpp +++ b/src/msw/ole/automtn.cpp @@ -54,7 +54,7 @@ #if wxUSE_DATETIME #include "wx/datetime.h" -#endif // wxUSE_TIMEDATE +#endif // wxUSE_DATETIME static void ClearVariant(VARIANTARG *pvarg) ; static void ReleaseVariant(VARIANTARG *pvarg) ; diff --git a/src/palmos/spinbutt.cpp b/src/palmos/spinbutt.cpp index d42b461d10..abd6314509 100644 --- a/src/palmos/spinbutt.cpp +++ b/src/palmos/spinbutt.cpp @@ -147,4 +147,4 @@ void wxSpinButton::SetRange(int minVal, int maxVal) } #endif - // wxUSE_SPINCTN + // wxUSE_SPINBTN