wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,10 +34,8 @@
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
bool wxPopupWindow::Create(
|
||||
wxWindow* pParent
|
||||
, int nFlags
|
||||
)
|
||||
bool wxPopupWindow::Create( wxWindow* pParent,
|
||||
int nFlags )
|
||||
{
|
||||
return wxPopupWindowBase::Create(pParent) &&
|
||||
wxWindow::Create( pParent
|
||||
@@ -48,10 +46,8 @@ bool wxPopupWindow::Create(
|
||||
);
|
||||
} // end of wxPopupWindow::Create
|
||||
|
||||
void wxPopupWindow::DoGetPosition(
|
||||
int* pnX
|
||||
, int* pnY
|
||||
) const
|
||||
void wxPopupWindow::DoGetPosition( int* pnX,
|
||||
int* pnY ) const
|
||||
{
|
||||
//
|
||||
// The position of a "top level" window such as this should be in
|
||||
@@ -70,16 +66,12 @@ WXHWND wxPopupWindow::OS2GetParent() const
|
||||
return (WXHWND)HWND_DESKTOP;
|
||||
} // end of wxPopupWindow::OS2GetParent
|
||||
|
||||
WXDWORD wxPopupWindow::OS2GetStyle(
|
||||
long lFlags
|
||||
, WXDWORD* dwExstyle
|
||||
) const
|
||||
WXDWORD wxPopupWindow::OS2GetStyle( long lFlags,
|
||||
WXDWORD* dwExstyle ) const
|
||||
{
|
||||
WXDWORD dwStyle = wxWindow::OS2GetStyle( lFlags & wxBORDER_MASK
|
||||
,dwExstyle
|
||||
);
|
||||
WXDWORD dwStyle = wxWindow::OS2GetStyle( lFlags & wxBORDER_MASK
|
||||
,dwExstyle
|
||||
);
|
||||
|
||||
return dwStyle;
|
||||
} // end of wxPopupWindow::OS2GetStyle
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user