various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1107,7 +1107,7 @@ void MyTreeCtrl::OnContextMenu(wxContextMenuEvent& event)
|
||||
{
|
||||
wxPoint pt = event.GetPosition();
|
||||
wxTreeItemId item = GetSelection();
|
||||
wxLogMessage("OnContextMenu at screen coords (%i, %i)", pt.x, pt.y);
|
||||
wxLogMessage(wxT("OnContextMenu at screen coords (%i, %i)"), pt.x, pt.y);
|
||||
|
||||
//check if event was generated by keyboard (MSW-specific?)
|
||||
if (pt.x==-1 && pt.y==-1) //(this is how MSW indicates it)
|
||||
|
Reference in New Issue
Block a user