summaryrefslogtreecommitdiff
path: root/src/c_fl_button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_button.cpp')
-rw-r--r--src/c_fl_button.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_fl_button.cpp b/src/c_fl_button.cpp
index 233e4ab..f031ff9 100644
--- a/src/c_fl_button.cpp
+++ b/src/c_fl_button.cpp
@@ -58,16 +58,16 @@ void free_fl_button(BUTTON b) {
int fl_button_get_state(BUTTON b) {
- return reinterpret_cast<My_Button*>(b)->value();
+ return reinterpret_cast<Fl_Button*>(b)->value();
}
void fl_button_set_state(BUTTON b, int s) {
- reinterpret_cast<My_Button*>(b)->value(s);
+ reinterpret_cast<Fl_Button*>(b)->value(s);
}
void fl_button_set_only(BUTTON b) {
- reinterpret_cast<My_Button*>(b)->setonly();
+ reinterpret_cast<Fl_Button*>(b)->setonly();
}