Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualwintertime

Posted 22 January 2013 - 11:03 AM

Is the Backing class changeable for you? Maybe cou could split it up into a functionality part which does not inherit from wxFrame and a (possibly templated) combiner class which inherits from Backing and wxFrame and another combiner class which inherits from Backing and wxMiniFrame. Then let Backingframe inherit from the first combiner class and BackingframeMini inherit from the second.
Or leave the combiner class out and have BackingFrame inherit Backing and wxFrame and BackingframeMini inherit Backing and wxMiniFrame.

#1wintertime

Posted 22 January 2013 - 10:55 AM

Is the Backing class changeable for you? Maybe cou could split it up into a functionality part which does not inherit from wxFrame and a combiner class which inherits from Backing and wxFrame. Then let Backingframe inherit from the combiner class and BackingframeMini inherit from backing and wxMiniFrame.

Or leave the combiner class out and have BackingFrame inherit Backing and wxFrame.


PARTNERS