Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: anandamu16 on February 27, 2017, 11:26:06 am

Title: menu plugin development with wxsmith integration
Post by: anandamu16 on February 27, 2017, 11:26:06 am
Hey,

I created a plugin which displays "Menu Entry 1" under Edit section on Menu Toolbar.(called it as Menuplugin1.cpp and menuplugin1.h)
I have also created a wxsmith based dialog separately within the plugin only by "wxsmith->addwxscrollingdialog" called it (wxgui.cpp and wxgui.h)

I want to open the wxdialog (wxgui.xrc) as soon as user created on Menu Entry 1. Can anyone help me in the code. In which function I should invoke wxgui.xrc file and what code line need to be edited?. I am looking contrib plugins cbp files but failed to decode any required info.