::WinReleasePS(hPS);
} // end of wxWindow::GetTextExtent
+bool wxWindowOS2::IsMouseInWindow() const
+{
+ //
+ // Get the mouse position
+ POINTL vPt;
+
+ ::WinQueryPointerPos(HWND_DESKTOP, &vPt);
+
+ //
+ // Find the window which currently has the cursor and go up the window
+ // chain until we find this window - or exhaust it
+ //
+ HWND hWnd = ::WinWindowFromPoint(HWND_DESKTOP, &vPt, TRUE);
+
+ while (hWnd && (hWnd != GetHwnd()))
+ hWnd = ::WinQueryWindow(hWnd, QW_PARENT);
+
+ return hWnd != NULL;
+} // end of wxWindowOS2::IsMouseInWindow
+
#if wxUSE_CARET && WXWIN_COMPATIBILITY
// ---------------------------------------------------------------------------
// Caret manipulation
#endif // __WXUNIVERSAL__
} // end of wxWindowOS2::OS2DetachWindowMenu
+bool wxWindowOS2::OS2GetCreateWindowCoords(
+ const wxPoint& rPos
+, const wxSize& rSize
+, int& rnX
+, int& rnY
+, int& rnWidth
+, int& rnHeight
+) const
+{
+ bool bNonDefault = FALSE;
+
+ if (rPos.x == -1)
+ {
+ //
+ // If set x to CW_USEDEFAULT, y parameter is ignored anyhow so we can
+ // just as well set it to CW_USEDEFAULT as well
+ rnX = rnY = CW_USEDEFAULT;
+ }
+ else
+ {
+ rnX = rPos.x;
+ rnY = rPos.y == -1 ? CW_USEDEFAULT : rPos.y;
+ bNonDefault = TRUE;
+ }
+ if (rSize.x == -1)
+ {
+ //
+ // As abobe, h is not used at all in this case anyhow
+ //
+ rnWidth = rnHeight = CW_USEDEFAULT;
+ }
+ else
+ {
+ rnWidth = rSize.x;
+ rnHeight = rSize.y == -1 ? CW_USEDEFAULT : rSize.y;
+ bNonDefault = TRUE;
+ }
+ return bNonDefault;
+} // end of wxWindowOS2::OS2GetCreateWindowCoords
+
bool wxWindowOS2::OS2Create(
WXHWND hParent
, PSZ zClass
CODE LOADONCALL
EXPORTS
-;From library: H:\Dev\Wx2\WxWindows\lib\wx.lib
+;From library: F:\DEV\WX2\WXWINDOWS\LIB\WX.lib
;From object file: dummy.cpp
;PUBDEFs (Symbols available from object file):
wxDummyChar
wxEVT_NC_LEFT_DCLICK
wxEVT_INIT_DIALOG
wxEVT_COMMAND_SET_FOCUS
- ;From object file: H:\DEV\WX2\WXWINDOWS\src\common\extended.c
+ ;From object file: F:\DEV\WX2\WXWINDOWS\src\common\extended.c
;PUBDEFs (Symbols available from object file):
ConvertToIeeeExtended
ConvertFromIeeeExtended
New__10wxFontBaseFRC16wxNativeFontInfo
;wxFontBase::New(const wxString&)
New__10wxFontBaseFRC8wxString
- ;wxNativeFontInfo::FromString(const wxString&)
- FromString__16wxNativeFontInfoFRC8wxString
;wxFont::operator=(const wxFont&)
__as__6wxFontFRC6wxFont
;wxFontBase::GetNativeFontInfoDesc() const
GetWeightString__10wxFontBaseCFv
;wxFontBase::GetStyleString() const
GetStyleString__10wxFontBaseCFv
+ ;wxFontBase::GetNativeFontInfoUserDesc() const
+ GetNativeFontInfoUserDesc__10wxFontBaseCFv
;wxFontBase::SetNativeFontInfo(const wxNativeFontInfo&)
SetNativeFontInfo__10wxFontBaseFRC16wxNativeFontInfo
+ ;wxFontBase::SetNativeFontInfoUserDesc(const wxString&)
+ SetNativeFontInfoUserDesc__10wxFontBaseFRC8wxString
;wxFontBase::ms_encodingDefault
ms_encodingDefault__10wxFontBase
+ ;wxFontBase::SetNativeFontInfo(const wxString&)
+ SetNativeFontInfo__10wxFontBaseFRC8wxString
;wxFontBase::operator==(const wxFont&) const
__eq__10wxFontBaseCFRC6wxFont
__vft10wxFontBase8wxObject
;wxFontBase::operator!=(const wxFont&) const
__ne__10wxFontBaseCFRC6wxFont
- ;wxNativeFontInfo::ToString() const
- ToString__16wxNativeFontInfoCFv
;wxFontBase::GetFamilyString() const
GetFamilyString__10wxFontBaseCFv
;wxFontBase::New(int,int,int,int,unsigned long,const wxString&,wxFontEncoding)
Read32__17wxTextInputStreamFv
;wxTextInputStream::SkipIfEndOfLine(char)
SkipIfEndOfLine__17wxTextInputStreamFc
- ;From object file: H:\DEV\WX2\WXWINDOWS\src\common\unzip.c
+ ;From object file: F:\DEV\WX2\WXWINDOWS\src\common\unzip.c
;PUBDEFs (Symbols available from object file):
unzReadCurrentFile
unzGetCurrentFileInfo