#ifndef WX_PRECOMP
#endif //WX_PRECOMP
+#if wxUSE_POPUPWIN
#include "wx/popupwin.h"
// ============================================================================
// implementation
// ============================================================================
-bool wxPopupWindow::Create(
- wxWindow* pParent
-, int nFlags
-)
+bool wxPopupWindow::Create( wxWindow* pParent,
+ int nFlags )
{
return wxPopupWindowBase::Create(pParent) &&
wxWindow::Create( pParent
);
} // 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
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
-
-
+#endif