More Motif stuff incl. beginnings of wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -64,6 +64,9 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id,
|
||||
else
|
||||
m_windowId = id;
|
||||
|
||||
m_backgroundColour = parent->GetBackgroundColour();
|
||||
m_foregroundColour = parent->GetForegroundColour();
|
||||
|
||||
Widget parentWidget = (Widget) parent->GetClientWidget();
|
||||
|
||||
m_formWidget = (WXWidget) XtVaCreateManagedWidget ((char*) (const char*) name,
|
||||
@@ -125,7 +128,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id,
|
||||
AttachWidget (parent, m_buttonWidget, m_formWidget, pos.x, pos.y, size.x, size.y);
|
||||
|
||||
SetFont(* parent->GetFont());
|
||||
ChangeColour(m_mainWidget);
|
||||
ChangeBackgroundColour();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@@ -415,3 +418,18 @@ void wxChoiceCallback (Widget w, XtPointer clientData,
|
||||
}
|
||||
}
|
||||
|
||||
void wxChoice::ChangeFont()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void wxChoice::ChangeBackgroundColour()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void wxChoice::ChangeForegroundColour()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user