void jme::Entry::onBlank(){ // this->getText() returns a Gtk::ustring
object
if(this->getText(().empy()){
// Display a Dialogbox explaining the problem
text_box->grab_focus();
}
}
D:\c++\entry.cpp||In member function `void jve::Entry::Entry()':|
D:\c++\entry.cpp|12|error: ISO C++ forbids taking the address of an
unqualified or parenthesized non-static member function to form a
pointer to member function. Say `&jme::Entry::onBlank'|
D:\c++\entry.cpp|12|error: no matching function for call to
`ptr_fun(void (jve::Entry::*)())'|
||=== Build finished: 2 errors, 0 warnings ===|
Thanks in advance
--
Happiness has many doors, and when one of them closes another opens,
yet we spent so much time looking at the one that is shut that we
don't see the one that just opened.
------------------------------------------------------------------------
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list