Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposed the Gauge.Pulse method #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion wxc/src/cpp/eljgauge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,10 @@ EWXWEXPORT(int, wxGauge_GetValue)(void* _obj)
{
return ((wxGauge*)_obj)->GetValue();
}


EWXWEXPORT(void, wxGauge_Pulse)(void* _obj)
{
((wxGauge*)_obj)->Pulse();
}

}
1 change: 1 addition & 0 deletions wxc/src/include/wxc_glue.h
Original file line number Diff line number Diff line change
Expand Up @@ -2892,6 +2892,7 @@ void wxGauge_SetBezelFace( TSelf(wxGauge) _obj, int w );
void wxGauge_SetRange( TSelf(wxGauge) _obj, int r );
void wxGauge_SetShadowWidth( TSelf(wxGauge) _obj, int w );
void wxGauge_SetValue( TSelf(wxGauge) _obj, int pos );
void wxGauge_Pulse( TSelf(wxGauge) _obj );

/* wxGenericDirCtrl */
TClassDefExtend(wxGenericDirCtrl,wxControl)
Expand Down
5 changes: 1 addition & 4 deletions wxc/wxc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,7 @@ library

if impl(ghc >= 8)
cc-options: "-std=gnu++14" -Wno-deprecated-declarations

if os(darwin)
cc-options: "-stdlib=libstdc++"


x-dll-name: wxc

x-dll-extra-libraries:
Expand Down