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:
@@ -126,7 +126,8 @@ bool wxFrame::Create(wxWindow *parent,
|
||||
m_visibleStatus = TRUE;
|
||||
m_title = "";
|
||||
|
||||
SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE));
|
||||
m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE);
|
||||
m_foregroundColour = *wxBLACK;
|
||||
|
||||
if ( id > -1 )
|
||||
m_windowId = id;
|
||||
@@ -264,6 +265,8 @@ bool wxFrame::Create(wxWindow *parent,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ChangeBackgroundColour();
|
||||
|
||||
PreResize();
|
||||
|
||||
wxSizeEvent sizeEvent(wxSize(width, height), GetId());
|
||||
@@ -1037,6 +1040,21 @@ WXWidget wxFrame::GetClientWidget() const
|
||||
return m_clientArea;
|
||||
}
|
||||
|
||||
void wxFrame::ChangeFont()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void wxFrame::ChangeBackgroundColour()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void wxFrame::ChangeForegroundColour()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void wxCloseFrameCallback(Widget widget, XtPointer client_data, XmAnyCallbackStruct *cbs)
|
||||
{
|
||||
wxFrame *frame = (wxFrame *)client_data;
|
||||
@@ -1047,3 +1065,4 @@ void wxCloseFrameCallback(Widget widget, XtPointer client_data, XmAnyCallbackStr
|
||||
// May delete the frame (with delayed deletion)
|
||||
frame->GetEventHandler()->ProcessEvent(closeEvent);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user