opengl with createwindowfrom

Hey guys, i know this question was asked a lot of times here, but it seems that the question is not figured out yet. Does anybody have expirience with CreateWindowFrom() and SDL_WINDOW_OPENGL? iam creating application with wxwidgets GUI and sdl, and i need to allow opengl, but it doesnt seem to work… can somebody help me out?