# Embedding opengl glfw context into wxGLContext?

**URL:** <https://discourse.glfw.org/t/embedding-opengl-glfw-context-into-wxglcontext/1142>\
**Category:** support\
**Created:** [June 25, 2018, 3:08pm UTC](https://discourse.glfw.org/t/embedding-opengl-glfw-context-into-wxglcontext/1142 "2018-06-25T15:08:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [June 25, 2018, 3:35pm UTC](https://discourse.glfw.org/t/embedding-opengl-glfw-context-into-wxglcontext/1142/2 "2018-06-25T15:35:16Z")

</div>

For a similar question please see the post [“Attach A GLFWwindow To Windows Window Client Area?”](http://discourse.glfw.org/t/attach-a-glfwwindow-to-windows-window-client-area/882) and the related [GLFW issue on creating a context for an open window](https://github.com/glfw/glfw/issues/25).

Are you sure you want to use GLFW though, or do you just want to use OpenGL with wxWidgets? WxWidgets has [wxGLCanvas](http://docs.wxwidgets.org/3.1/classwx_g_l_canvas.html) which can be used for OpenGL rendering.

---

_[View the full topic](https://discourse.glfw.org/t/embedding-opengl-glfw-context-into-wxglcontext/1142)._
