I have created a custom wxWidget in wxsmith and I would like to add it to my window. For this I think I should write the code for adding this widget inside the code auto-generated by code::blocks, i.e., the code between "//(*" and "//*)". Can I do this? Will it affect my application adversely?
Use a Custom widget or if it is derived from something available - use it and change the "Class name" in the properties.
Quote from: oBFusCATed on June 08, 2013, 10:28:23 AM
Use a Custom widget or if it is derived from something available - use it and change the "Class name" in the properties.
Actually, I'm not adding only one copy of the component, but I am adding an array of this component to the panel. The size of the array is indefinite. Hence, I don't think I can use custom widget.
I think i'll need to use a loop to add these into the panel.