Skip to content

Commit 2905857

Browse files
authored
wxwidgets.cfg: Added support for more interfaces (danmar#8090)
This pull request expands the function configuration in `cfg/wxwidgets.cfg` to include additional wxWidgets API methods, improving coverage and consistency for function bindings. The most important changes involve adding more methods to existing function groups and introducing new function entries for various wxWidgets classes. ### Expanded function bindings * Added `wxTreeListItem::IsOk` to the function group with `wxBitmap::HasAlpha` and `wxBitmap::IsOk`, ensuring consistent handling of `IsOk` methods across more classes. * Extended the `Layout` function group to include `wxWindow::Layout`, `wxGrid::Layout`, and `wxPanel::Layout`, in addition to the existing `wxWindowBase::Layout` and `wxFrame::Layout`. Also, added a new group for sizer-related `Layout` methods (`wxSizer`, `wxBoxSizer`, `wxGridSizer`, `wxStaticBoxSizer`). ### New function entries * Added new function entries for `wxWindow::GetScreenPosition`, `wxGrid::GetScreenPosition`, `wxDataViewListCtrl::GetItemCount`, and the static method `wxStandardPaths::Get`, improving API access for these commonly-used methods. * Grouped `GetPosition` methods for `wxGridEvent`, `wxMouseEvent`, and `wxMouseState` into a single function entry, streamlining their configuration.
1 parent 67c4604 commit 2905857

File tree

1 file changed

+42
-3
lines changed

1 file changed

+42
-3
lines changed

cfg/wxwidgets.cfg

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11703,7 +11703,8 @@
1170311703
</function>
1170411704
<!-- bool wxBitmap::HasAlpha( void ) const -->
1170511705
<!-- bool wxBitmap::IsOk( void ) const -->
11706-
<function name="wxBitmap::HasAlpha,wxBitmap::IsOk">
11706+
<!-- bool wxTreeListItem::IsOk( void ) const -->
11707+
<function name="wxBitmap::HasAlpha,wxBitmap::IsOk,wxTreeListItem::IsOk">
1170711708
<noreturn>false</noreturn>
1170811709
<leak-ignore/>
1170911710
<returnValue type="bool"/>
@@ -16122,6 +16123,30 @@ wxItemKind kind = wxITEM_NORMAL) -->
1612216123
<leak-ignore/>
1612316124
<const/>
1612416125
</function>
16126+
<!-- wxPoint wxWindow::GetScreenPosition() const -->
16127+
<!-- wxPoint wxGrid::GetScreenPosition() const -->
16128+
<function name="wxWindow::GetScreenPosition,wxGrid::GetScreenPosition">
16129+
<noreturn>false</noreturn>
16130+
<returnValue type="wxPoint"/>
16131+
<use-retval/>
16132+
<leak-ignore/>
16133+
<const/>
16134+
</function>
16135+
<!-- unsigned int wxDataViewListCtrl::GetItemCount( )const -->
16136+
<function name="wxDataViewListCtrl::GetItemCount">
16137+
<noreturn>false</noreturn>
16138+
<returnValue type="unsigned int"/>
16139+
<use-retval/>
16140+
<leak-ignore/>
16141+
<const/>
16142+
</function>
16143+
<!-- static wxStandardPaths& wxStandardPaths::Get() -->
16144+
<function name="wxStandardPaths::Get">
16145+
<noreturn>false</noreturn>
16146+
<returnValue type="wxStandardPaths &amp;"/>
16147+
<use-retval/>
16148+
<leak-ignore/>
16149+
</function>
1612516150
<!-- wxFont wxGrid::GetLabelFont() const -->
1612616151
<function name="wxGrid::GetLabelFont">
1612716152
<noreturn>false</noreturn>
@@ -16140,7 +16165,9 @@ wxItemKind kind = wxITEM_NORMAL) -->
1614016165
<const/>
1614116166
</function>
1614216167
<!-- wxPoint wxGridEvent::GetPosition( void ) const -->
16143-
<function name="wxGridEvent::GetPosition">
16168+
<!-- wxPoint wxMouseEvent::GetPosition( void ) const -->
16169+
<!-- wxPoint wxMouseState::GetPosition( void ) const -->
16170+
<function name="wxGridEvent::GetPosition,wxMouseEvent::GetPosition,wxMouseState::GetPosition">
1614416171
<noreturn>false</noreturn>
1614516172
<leak-ignore/>
1614616173
<returnValue type="wxPoint"/>
@@ -17048,13 +17075,25 @@ wxItemKind kind = wxITEM_NORMAL) -->
1704817075
<const/>
1704917076
</function>
1705017077
<!-- bool wxFrame::Layout( void ) -->
17078+
<!-- bool wxWindow::Layout( void ) -->
1705117079
<!-- bool wxWindowBase::Layout( void ) -->
17052-
<function name="wxWindowBase::Layout,wxFrame::Layout">
17080+
<!-- bool wxGrid::Layout( void ) -->
17081+
<!-- bool wxPanel::Layout( void ) -->
17082+
<function name="wxWindow::Layout,wxWindowBase::Layout,wxFrame::Layout,wxGrid::Layout,wxPanel::Layout">
1705317083
<noreturn>false</noreturn>
1705417084
<leak-ignore/>
1705517085
<returnValue type="bool"/>
1705617086
<use-retval/>
1705717087
</function>
17088+
<!-- void wxSizer::Layout( void ) -->
17089+
<!-- void wxBoxSizer::Layout( void ) -->
17090+
<!-- void wxGridSizer::Layout( void ) -->
17091+
<!-- void wxStaticBoxSizer::Layout( void ) -->
17092+
<function name="wxSizer::Layout,wxBoxSizer::Layout,wxGridSizer::Layout,wxStaticBoxSizer::Layout">
17093+
<noreturn>false</noreturn>
17094+
<leak-ignore/>
17095+
<returnValue type="void"/>
17096+
</function>
1705817097
<!-- void wxTextEntry::Clear( void ) -->
1705917098
<!-- void wxTextCtrl::Clear( void ) -->
1706017099
<!-- void wxRegion::Clear( void ) -->

0 commit comments

Comments
 (0)