wxMediaCtrl* ctrl = (wxMediaCtrl*) inctrl;
//Create the control base
- wxASSERT(ctrl->CreateBase(parent,wid,pos,size,style, validator, size));
+ wxASSERT(ctrl->CreateBase(parent,wid,pos,size,style, validator, name));
//Create the NSMovieView
ctrl->SetNSView(NULL);
- NSView* theView = [[NSMovieView alloc] initWithFrame: ctrl->MakeDefaultNSRect(size)];
+ NSMovieView* theView = [[NSMovieView alloc] initWithFrame: ctrl->MakeDefaultNSRect(size)];
ctrl->SetNSView(theView);
[theView release];
parent->CocoaAddChild(ctrl);
ctrl->SetInitialFrameRect(pos,size);
}
-
+
+ [theView showController:false adjustingSize:true];
m_movieview = theView;
m_ctrl = ctrl;
return true;
FORCE_LINK_ME(basewxmediabackends);
#endif //wxUSE_MEDIACTRL
-
-
-
-
-