use const wxMBConv& instead of wxMBConv& in public methods so that it's possible to pass in temporary objects;
don't use global wxConvUTF8 object internally, it may be unavailable at static objects destruction time git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,7 +34,7 @@ Windows.
|
||||
|
||||
\membersection{wxFileConfig::wxFileConfig}\label{wxfileconfigctor}
|
||||
|
||||
\func{}{wxFileConfig}{\param{wxInputStream\& }{is}, \param{wxMBConv\& }{conv = wxConvUTF8}}
|
||||
\func{}{wxFileConfig}{\param{wxInputStream\& }{is}, \param{const wxMBConv\& }{conv = wxConvAuto()}}
|
||||
|
||||
Read the config data from the specified stream instead of the associated file,
|
||||
as usual.
|
||||
@@ -72,7 +72,7 @@ path name.
|
||||
|
||||
\membersection{wxFileConfig::Save}\label{wxfileconfigsave}
|
||||
|
||||
\func{bool}{Save}{\param{wxOutputStream\& }{os}, \param{wxMBConv\& }{conv = wxConvUTF8}}
|
||||
\func{bool}{Save}{\param{wxOutputStream\& }{os}, \param{const wxMBConv\& }{conv = wxConvAuto()}}
|
||||
|
||||
Saves all config data to the given stream, returns \true if data was saved
|
||||
successfully or \false on error.
|
||||
|
Reference in New Issue
Block a user