git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13440
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-wxColour wxSystemSettings::GetSystemColour(
- int nIndex
+wxColour wxSystemSettingsNative::GetColour(
+ wxSystemColour nIndex
-} // end of wxSystemSettings::GetSystemColour
+} // end of wxSystemSettingsNative::GetColour
-wxFont wxSystemSettings::GetSystemFont(int index)
+wxFont wxSystemSettingsNative::GetFont(
+ wxSystemFont index
+)
}
// Get a system metric, e.g. scrollbar size
}
// Get a system metric, e.g. scrollbar size
-int wxSystemSettings::GetSystemMetric(int index)
+int wxSystemSettingsNative::GetMetric(
+ wxSystemMetric index
+)
-bool wxSystemSettings::GetCapability(int index)
+bool wxSystemSettingsNative::HasFeature(
+ wxSystemFeature index
+)
{
switch (index)
{
case wxSYS_CAN_ICONIZE_FRAME:
{
switch (index)
{
case wxSYS_CAN_ICONIZE_FRAME:
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
}
// create a new (suspended) thread (for the given thread object)
}
// create a new (suspended) thread (for the given thread object)
- bool Create(wxThread* pThread);
+ bool Create( wxThread* pThread
+ ,unsigned int uStackSize
+ );
// suspend/resume/terminate
bool Suspend();
// suspend/resume/terminate
bool Suspend();
bool wxThreadInternal::Create(
wxThread* pThread
bool wxThreadInternal::Create(
wxThread* pThread
+, unsigned int uStackSize
,(PFNTHREAD)wxThreadInternal::OS2ThreadStart
,(ULONG)pThread
,CREATE_SUSPENDED | STACK_SPARSE
,(PFNTHREAD)wxThreadInternal::OS2ThreadStart
,(ULONG)pThread
,CREATE_SUSPENDED | STACK_SPARSE
// create/start thread
// -------------------
// create/start thread
// -------------------
-wxThreadError wxThread::Create()
+wxThreadError wxThread::Create(
+ unsigned int uStackSize
+)
- if ( !m_internal->Create(this) )
+ if ( !m_internal->Create(this, uStackSize) )
return wxTHREAD_NO_RESOURCE;
return wxTHREAD_NO_ERROR;
return wxTHREAD_NO_RESOURCE;
return wxTHREAD_NO_ERROR;
// the name of the default wxWindows class
extern const wxChar* wxCanvasClassName;
extern const wxChar* wxFrameClassName;
// the name of the default wxWindows class
extern const wxChar* wxCanvasClassName;
extern const wxChar* wxFrameClassName;
+extern void wxAssociateWinWithHandle( HWND hWnd
+ ,wxWindowOS2* pWin
+ );
// ============================================================================
// wxTopLevelWindowMSW implementation
// ============================================================================
// wxTopLevelWindowMSW implementation
::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
} // end of wxTopLevelWindowOS2::AlterChildPos
::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
} // end of wxTopLevelWindowOS2::AlterChildPos
+void wxTopLevelWindowOS2::UpdateInternalSize(
+ wxWindow* pChild
+, int nHeight
+)
+{
+ pChild->MoveChildren(m_vSwpClient.cy - nHeight);
+ ::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
+} // end of wxTopLevelWindowOS2::UpdateInternalSize
+
// ----------------------------------------------------------------------------
// wxTopLevelWindowOS2 client size
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxTopLevelWindowOS2 client size
// ----------------------------------------------------------------------------