]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unused APPEND_STR macro
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 24 Apr 2007 10:59:58 +0000 (10:59 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 24 Apr 2007 10:59:58 +0000 (10:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wxprintf.cpp

index 565f1649218201b64de46d512da3fd69c4d9c562..5f8cef2b8ceebbabeb9477c84a210689cdb39a13 100644 (file)
@@ -656,14 +656,6 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p, size_t
                     buf[lenCur++] = ch; \
                 }
 
-#define APPEND_STR(s) \
-                { \
-                    for ( const wxChar *p = s; *p; p++ ) \
-                    { \
-                        APPEND_CH(*p); \
-                    } \
-                }
-
     switch ( m_type )
     {
         case wxPAT_INT:
@@ -1096,7 +1088,6 @@ int WXDLLEXPORT wxVsnprintf_(wxChar *buf, size_t lenMax,
 }
 
 #undef APPEND_CH
-#undef APPEND_STR
 #undef CHECK_PREC
 
 #else    // wxVsnprintf_ is defined