[wx-dev] wxAUI class renaming proprosal

Takeshi Miya tenmon at gmail.com
Wed Nov 1 05:21:03 PST 2006


Hi Ben,
I'm also in favor of the big name change wxAui in front of everything.

Something unrelated, but the only thing that stops successfully
compilation of the wx 2.7.2 branch (under MinGW), is in the mail I
wrote a few hours ago, "[wx-dev] Compile error in
src/aui/floatpane.cpp"

Regards,
Takeshi Miya

On 11/1/06, Benjamin Williams <kxbwilliams at gmail.com> wrote:
> Hi everyone,
>
> A few threads ago the idea of a large wxAUI class renaming was
> proposed.  As I'm not against this myself, I'd like to ask everyone
> for their comments before proceeding one way or another.
>
> The way I see it, the options are 1) go ahead with a large class
> rename, 2) rename wxAuiMultiNotebook only, or 3) do nothing.  Julian
> had pointed out that putting a "wxAui" prefix at the beginning of
> every class would bring a certain continuity to the library and more
> easily allow developers to discover less-known parts of wxAUI.
>
> The only disadvantages that I can think of are that everybody will
> have to change their code that calls wxAUI, and two, it might be a
> little more verbose to code with wxAUI.
>
> Almost all constants already have a wxAUI_ prefix.
>
>
> Aggressive renaming would yield:
>
>     wxFrameManager -> wxAuiManager
>     wxFrameManagerEvent -> wxAuiManagerEvent
>     wxPaneInfo -> wxAuiPaneInfo
>     wxFloatingPane -> wxAuiFloatingPane
>     wxDockArt -> wxAuiDockArt
>     wxTabArt -> wxAuiTabArt
>     wxAuiMultiNotebook -> wxAuiNotebook
>     wxAuiNotebookEvent -> wxAuiNotebookEvent
>     wxTabMDIParentFrame -> wxAuiMDIParentFrame
>     wxTabMDIChildFrame -> wxAuiMDIChildFrame
>     wxTabMDIClientWindow -> wxAuiTabMDIClientWindow
>
> Originally my intention was to simply rename the notebook class:
>
>     wxAuiMultiNotebook -> wxAuiNotebook (or some other name)
>     wxAuiNotebookEvent -> wxAuiNotebookEvent
>
> So what would everyone like to see?  If we do decide to undertake a
> large class rename, now is the time to do it, because this is the
> first time wxAUI will be included in a stable release.
>
> All the best,
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
>




More information about the wx-dev mailing list