Separate BITMAP2CMP_PANEL from BITMAP2CMP_FRAME.

This is primarily to allow wxFormBuilder to create the panel without
the dangerous hack of passing a wxWindow ID into KIWAY_PLAYER's ctor.
This commit is contained in:
Jeff Young
2023-06-15 17:39:10 +01:00
parent abc0c19d64
commit 150e2b8a19
12 changed files with 706 additions and 669 deletions
+2 -2
View File
@@ -22,7 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <bitmap2cmp_gui.h>
#include <bitmap2cmp_frame.h>
#include <bitmap2cmp_settings.h>
#include <kiface_base.h>
#include <kiway.h>
@@ -41,7 +41,7 @@ static struct IFACE : public KIFACE_BASE
{
InitSettings( new BITMAP2CMP_SETTINGS );
Pgm().GetSettingsManager().RegisterSettings( KifaceSettings() );
return new BM2CMP_FRAME( aKiway, aParent );
return new BITMAP2CMP_FRAME( aKiway, aParent );
}
/**