|
@@ -469,15 +469,14 @@ make_parent_window(P3D_window_handle &parent_window,
|
|
|
|
|
|
|
|
parent_window._hwnd = toplevel_window;
|
|
parent_window._hwnd = toplevel_window;
|
|
|
}
|
|
}
|
|
|
-#endif // _WIN32
|
|
|
|
|
|
|
|
|
|
-#ifdef __APPLE__
|
|
|
|
|
|
|
+#else
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: Panda3D::make_parent_window
|
|
// Function: Panda3D::make_parent_window
|
|
|
// Access: Private
|
|
// Access: Private
|
|
|
// Description: Creates a toplevel window to contain the embedded
|
|
// Description: Creates a toplevel window to contain the embedded
|
|
|
-// instances. OS X implementation.
|
|
|
|
|
|
|
+// instances.
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
void Panda3D::
|
|
void Panda3D::
|
|
|
make_parent_window(P3D_window_handle &parent_window,
|
|
make_parent_window(P3D_window_handle &parent_window,
|
|
@@ -486,7 +485,7 @@ make_parent_window(P3D_window_handle &parent_window,
|
|
|
assert(false);
|
|
assert(false);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#endif // __APPLE__
|
|
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Function: Panda3D::create_instance
|
|
// Function: Panda3D::create_instance
|