NLGUI files dbgroup_combo_box.cpp and dbgroup_select_number.cpp were not linked
This commit is contained in:
parent
66c1f68359
commit
98d6facd71
3 changed files with 10 additions and 2 deletions
|
@ -28,10 +28,12 @@
|
|||
using namespace std;
|
||||
using namespace NLMISC;
|
||||
|
||||
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupComboBox, std::string, "combo_box");
|
||||
|
||||
namespace NLGUI
|
||||
{
|
||||
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupComboBox, std::string, "combo_box");
|
||||
|
||||
void force_link_dbgroup_combo_box_cpp() { }
|
||||
|
||||
// Compare strings
|
||||
static inline bool lt_text(const std::pair<int,ucstring> &s1, const std::pair<int,ucstring> &s2)
|
||||
{
|
||||
|
|
|
@ -31,6 +31,8 @@ namespace NLGUI
|
|||
{
|
||||
NLMISC_REGISTER_OBJECT(CViewBase, CDBGroupSelectNumber, std::string, "select_number");
|
||||
|
||||
void force_link_dbgroup_select_number_cpp() { }
|
||||
|
||||
// ***************************************************************************
|
||||
CDBGroupSelectNumber::CDBGroupSelectNumber(const TCtorParam ¶m) :
|
||||
CInterfaceGroup(param)
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
namespace NLGUI
|
||||
{
|
||||
void ifexprufct_forcelink();
|
||||
void force_link_dbgroup_select_number_cpp();
|
||||
void force_link_dbgroup_combo_box_cpp();
|
||||
|
||||
/// Necessary so the linker doesn't drop the code of these classes from the library
|
||||
void LinkHack()
|
||||
|
@ -33,5 +35,7 @@ namespace NLGUI
|
|||
CDBViewQuantity::forceLink();
|
||||
CViewPointer::forceLink();
|
||||
ifexprufct_forcelink();
|
||||
force_link_dbgroup_select_number_cpp();
|
||||
force_link_dbgroup_combo_box_cpp();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue