]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/string.h
Removed obsolete conditional compile option wxPG_CREATE_CONTROLS_HIDDEN
[wxWidgets.git] / interface / wx / string.h
index 5d45fe40a44a7bec558d629ea2b47028831382e1..db5eb2965ec119a274b8ae98490049f3fcfd6017 100644 (file)
@@ -1540,16 +1540,13 @@ wxString wxEmptyString;
 
     @code
         wxString theAnswer;
-        wxStringBuffer theAnswerBuffer(theAnswer, 1024);
+        wxStringBufferLength theAnswerBuffer(theAnswer, 1024);
         int nLength = GetMeaningOfLifeAsString(theAnswerBuffer);
         theAnswerBuffer.SetLength(nLength);
         if ( theAnswer != "42" )
             wxLogError("Something is very wrong!");
     @endcode
 
-    @todo
-        the example above does not make use of wxStringBufferLength??
-
     Note that the exact usage of this depends on whether or not wxUSE_STL is
     enabled. If wxUSE_STL is enabled, wxStringBuffer creates a separate empty
     character buffer, and if wxUSE_STL is disabled, it uses GetWriteBuf() from