712c2d4004
This requires refactoring NewCloseButton() in order to extract CreateCloseButton() from it, as XRC relies on being able to use two-step creation which was previously impossible for this kind of buttons. CreateCloseButton() is rather unusual, as it has to be declared in the derived, platform-specific class, in order to be able to call its Create(), but is defined only once in common, platform-independent, code. However the only alternative seems to be to have a static function, e.g. InitCloseButton(), which wouldn't be very pretty neither. Closes https://github.com/wxWidgets/wxWidgets/pull/2118 |
||
---|---|---|
.. | ||
private | ||
accel.h | ||
app.h | ||
bitmap.h | ||
bmpbuttn.h | ||
brush.h | ||
button.h | ||
checkbox.h | ||
checklst.h | ||
choice.h | ||
clipbrd.h | ||
colordlg.h | ||
colour.h | ||
combobox.h | ||
control.h | ||
cursor.h | ||
dataform.h | ||
dataobj2.h | ||
dataobj.h | ||
dc.h | ||
dcclient.h | ||
dcmemory.h | ||
dcscreen.h | ||
dialog.h | ||
dnd.h | ||
filedlg.h | ||
font.h | ||
fontdlg.h | ||
frame.h | ||
gauge.h | ||
glcanvas.h | ||
listbox.h | ||
mdi.h | ||
menu.h | ||
menuitem.h | ||
minifram.h | ||
msgdlg.h | ||
notebook.h | ||
pen.h | ||
popupwin.h | ||
private.h | ||
radiobox.h | ||
radiobut.h | ||
region.h | ||
scrolbar.h | ||
scrolwin.h | ||
slider.h | ||
spinbutt.h | ||
spinctrl.h | ||
statbmp.h | ||
statbox.h | ||
statline.h | ||
stattext.h | ||
textctrl.h | ||
tglbtn.h | ||
toolbar.h | ||
tooltip.h | ||
toplevel.h | ||
treectrl.h | ||
win_gtk.h | ||
window.h |