long wxVTKRenderWindowInteractor::GetHandleHack()
{
//helper function to hide the MSW vs GTK stuff
- long handle_tmp = 0;
+ long int handle_tmp = 0;
// __WXMSW__ is for Win32
// __WXMAC__ is for Carbon or Cocoa builds
// __WXGTK__ is for both gtk 1.2.x and gtk 2.x
#if defined(__WXMSW__) || defined(__WXMAC__)
- handle_tmp = (long)this->GetHandle();
+// EED 2018-01-17
+// handle_tmp = (long)this->GetHandle();
+ handle_tmp = (long long)this->GetHandle();
#endif //__WXMSW__
// using above GetHandle() works fine with wxOSX 2.9.x
//do it here rather than in the cstor: this is safer.
if(!Handle)
- {
Handle = GetHandleHack();
+ {
RenderWindow->SetWindowId(reinterpret_cast<void *>(Handle));
+
// Cocoa
// this->GetNSView() <-> DisplayId
// this->GetTopLevel()->GetNSWindow() <-> WindowId