Skip to content

Instantly share code, notes, and snippets.

@thiagomg thiagomg/window.cpp
Created Nov 5, 2015

What would you like to do?
Ciclic dependency problem
void window::close() {
//Closing window stuff...
if( msgbox::inform("Really?") ) {
cout << "Closing window" << endl;
//Closing window stuff
//Now I need to inform the main window
//closing succeeded
} else {
cout << "Thanks for this 2nd chance!" << endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.