Skip to content

Commit 2e8f0b9

Browse files
committed
wxwidgets.cfg: Added support for more interfaces
1 parent 6f2879a commit 2e8f0b9

1 file changed

Lines changed: 60 additions & 8 deletions

File tree

cfg/wxwidgets.cfg

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5008,13 +5008,6 @@
50085008
<const/>
50095009
<arg nr="1" direction="in"/>
50105010
</function>
5011-
<!-- http://docs.wxwidgets.org/trunk/classwx_string.html#ab20a87ca731a52c36ec674dae2213ad8 -->
5012-
<!-- void wxString::LowerCase() -->
5013-
<function name="wxString::LowerCase">
5014-
<noreturn>false</noreturn>
5015-
<leak-ignore/>
5016-
<warn severity="style">This is the same as 'wxString::MakeLower' and is kept for wxWidgets 1.xx compatibility. You should not use it in new code.</warn>
5017-
</function>
50185011
<!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__log.html#gaec3640fa3b46c970ff0c86fe354e59ff -->
50195012
<!-- unsigned long wxSysErrorCode() -->
50205013
<function name="wxSysErrorCode">
@@ -9438,6 +9431,7 @@
94389431
<arg nr="2" direction="in">
94399432
<not-uninit/>
94409433
</arg>
9434+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. Use 'wxString::Mid' in new applications instead.</warn>
94419435
</function>
94429436
<!-- wxString wxString::substr(size_t nStart = 0, size_t nLen = npos) const -->
94439437
<function name="wxString::substr">
@@ -10258,15 +10252,34 @@
1025810252
</function>
1025910253
<!-- int wxString::Find (wxUniChar ch, bool fromEnd=false) const -->
1026010254
<!-- int wxString::Find (const wxString &sub) const -->
10255+
<function name="wxString::Find">
10256+
<use-retval/>
10257+
<const/>
10258+
<leak-ignore/>
10259+
<returnValue type="int"/>
10260+
<noreturn>false</noreturn>
10261+
<arg nr="any" direction="in"/>
10262+
</function>
1026110263
<!-- int wxString::First (const wxUniChar ch) const -->
1026210264
<!-- int wxString::First (const wxString &sub) const -->
10263-
<function name="wxString::Find,wxString::First">
10265+
<function name="wxString::First">
1026410266
<use-retval/>
1026510267
<const/>
1026610268
<leak-ignore/>
1026710269
<returnValue type="int"/>
1026810270
<noreturn>false</noreturn>
1026910271
<arg nr="any" direction="in"/>
10272+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. Use 'wxString::Find' in new applications instead.</warn>
10273+
</function>
10274+
<!-- int wxString::Freq(wxUniChar ch) const -->
10275+
<function name="wxString::Freq">
10276+
<use-retval/>
10277+
<const/>
10278+
<leak-ignore/>
10279+
<returnValue type="int"/>
10280+
<noreturn>false</noreturn>
10281+
<arg nr="any" direction="in"/>
10282+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. You should not use it in new code.</warn>
1027010283
</function>
1027110284
<!-- size_t wxString::find(const wxString & str, size_t nStart = 0) const -->
1027210285
<!-- size_t wxString::find(const char * sz , size_t nStart = 0, size_t n = npos) const -->
@@ -10705,6 +10718,45 @@
1070510718
<leak-ignore/>
1070610719
<arg nr="1" direction="in"/>
1070710720
</function>
10721+
<!--wxString& wxString::Remove(size_t pos) -->
10722+
<!--wxString& wxString::Remove(size_t pos, size_t len) -->
10723+
<function name="wxString::Remove">
10724+
<noreturn>false</noreturn>
10725+
<returnValue type="wxString &amp;"/>
10726+
<leak-ignore/>
10727+
<use-retval/>
10728+
<arg nr="1" direction="in">
10729+
<not-uninit/>
10730+
</arg>
10731+
<arg nr="2" default="0" direction="in">
10732+
<not-uninit/>
10733+
</arg>
10734+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. Use 'wxString::Truncate' in new applications instead.</warn>
10735+
</function>
10736+
<!--wxString& wxString::Truncate(size_t len) -->
10737+
<function name="wxString::Truncate">
10738+
<noreturn>false</noreturn>
10739+
<returnValue type="wxString &amp;"/>
10740+
<leak-ignore/>
10741+
<use-retval/>
10742+
<arg nr="1" direction="in">
10743+
<not-uninit/>
10744+
</arg>
10745+
</function>
10746+
<!--void wxString::UpperCase(void) -->
10747+
<function name="wxString::UpperCase">
10748+
<noreturn>false</noreturn>
10749+
<returnValue type="void"/>
10750+
<leak-ignore/>
10751+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. Use 'wxString::MakeUpper' in new applications instead.</warn>
10752+
</function>
10753+
<!--void wxString::LowerCase(void) -->
10754+
<function name="wxString::LowerCase">
10755+
<noreturn>false</noreturn>
10756+
<returnValue type="void"/>
10757+
<leak-ignore/>
10758+
<warn severity="style">This is a wxWidgets 1.xx compatibility function. Use 'wxString::MakeLower' in new applications instead.</warn>
10759+
</function>
1070810760
<!-- static wxUniChar wxFileName::GetPathSeparator(wxPathFormat format = wxPATH_NATIVE) -->
1070910761
<function name="wxFileName::GetPathSeparator">
1071010762
<noreturn>false</noreturn>

0 commit comments

Comments
 (0)