- BX_ERROR added: change of the config interface to wx not implemented yet
This commit is contained in:
parent
5c11b64bdf
commit
6a07c1eb5a
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: main.cc,v 1.227 2003-05-27 18:19:12 vruppert Exp $
|
||||
// $Id: main.cc,v 1.228 2003-07-10 19:13:28 vruppert Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -1959,8 +1959,13 @@ bx_bool load_and_init_display_lib () {
|
||||
return true;
|
||||
}
|
||||
BX_ASSERT (bx_gui == NULL);
|
||||
bx_param_enum_c *ci_param = SIM->get_param_enum (BXP_SEL_CONFIG_INTERFACE);
|
||||
char *ci_name = ci_param->get_choice (ci_param->get ());
|
||||
bx_param_enum_c *gui_param = SIM->get_param_enum(BXP_SEL_DISPLAY_LIBRARY);
|
||||
char *gui_name = gui_param->get_choice (gui_param->get ());
|
||||
if (!strcmp(ci_name, "wx")) {
|
||||
BX_ERROR(("change of the config interface to wx not implemented yet"));
|
||||
}
|
||||
if (!strcmp (gui_name, "wx")) {
|
||||
// they must not have used wx as the configuration interface, or bx_gui
|
||||
// would already be initialized. Sorry, it doesn't work that way.
|
||||
|
Loading…
Reference in New Issue
Block a user